We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: data1: key: value data2: key: value
当删除一组配置信息的时
test: data1: key: value
监听到文件变更,cfg.Data()读出来的还是两组信息,data1和data2
cfg.Data()
The text was updated successfully, but these errors were encountered:
怎么删除的?给个简单的使用示例呢
Sorry, something went wrong.
就我上面写的,原本有data1,data2启动后删除data2节点。
删除的配置文件里的 data2 吗?还是通过 cfg.Set 删除的。
删除配置文件里的data2
config 不会主动监听文件变动,你是自己加的监听处理吗?
是的,根据这个来的。https://github.com/gookit/config/blob/master/_examples/watch_file.go
inhere
No branches or pull requests
当删除一组配置信息的时
监听到文件变更,
cfg.Data()
读出来的还是两组信息,data1和data2The text was updated successfully, but these errors were encountered: