Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shima-park authored Jun 14, 2019
1 parent a21ed06 commit e25c78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func main() {
// namespace为test.json的所有配置项
a.GetNameSpace("test.json"),
// 默认值
a.Get("foo", agollo.WithDefault("bar")),
// 默认值, 为xxx提供一个默认bar
a.Get("xxx", agollo.WithDefault("bar")),
// namespace为other_namespace, key为foo的value
a.Get("foo", agollo.WithNamespace("other_namespace")),
Expand Down

0 comments on commit e25c78d

Please sign in to comment.