mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Fix readme
This commit is contained in:
parent
bdf2db0ff8
commit
6fcf985c5a
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ type config struct {
|
||||||
|
|
||||||
var C config
|
var C config
|
||||||
|
|
||||||
viper.Unmarshal(&C)
|
v.Unmarshal(&C)
|
||||||
```
|
```
|
||||||
|
|
||||||
Viper uses [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) under the hood for unmarshaling values which uses `mapstructure` tags by default.
|
Viper uses [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) under the hood for unmarshaling values which uses `mapstructure` tags by default.
|
||||||
|
|
Loading…
Reference in a new issue