Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timestee authored Jan 25, 2022
1 parent 50c109b commit 44f83a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

Golang配置文件加载解析, [goconf](https://github.com//timestee/goconf) v2,扩充了功能支持。

[![run on repl.it](https://repl.it/badge/github/timestee/XConf-example)](https://repl.it//@timestee/XConf-example#main.go)
Run XConf Example: [![run on repl.it](https://repl.it/badge/github/timestee/XConf-example)](https://repl.it//@timestee/XConf-example#main.go)

Run XCmd Example: [![run on repl.it](https://replit.com/badge/github/timestee/XCmd-example)](https://replit.com/@timestee/XCmd-example#main.go)

## 功能简介
- 支持默认值配置、解析
Expand Down Expand Up @@ -399,4 +401,4 @@ XConf根据`Parse`时无法缓存私有、隐藏字段数据,为了防止逻
对于私有数据或者隐藏字段,在使用`动态更新`特性时,建议在主动调用`Latest`后或设定的`InstallCallbackOnAtomicXXXXXXXXXSet`回调逻辑中再次赋值。

## xcmd 命令行支持
xcmd依托xconf自动完成flag参数创建,绑定,解析等操作,同时支持自定义flag,支持中间件,支持子命令. 参考:[xcmd/main/main.go](https://github.com/sandwich-go/xconf/blob/master/xcmd/main/main.go)
xcmd依托xconf自动完成flag参数创建,绑定,解析等操作,同时支持自定义flag,支持中间件,支持子命令. 参考:[xcmd/main/main.go](https://github.com/sandwich-go/xconf/blob/master/xcmd/main/main.go)

0 comments on commit 44f83a8

Please sign in to comment.