Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gookit/ini
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jul 21, 2020
2 parents 8993559 + 7c105b9 commit f485edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ cfg := ini.New()
// 启用变量解析
cfg.WithOptions(ini.ParseVar)

fmt.Print(cfg.MustString("portal.url"))
fmt.Print(cfg.String("portal.url"))
// OUT:
// http://localhost:8080/Portal
```
Expand Down

0 comments on commit f485edf

Please sign in to comment.