mirror of
https://github.com/spf13/viper
synced 2025-05-07 20:57:18 +00:00
Fix readme
This commit is contained in:
parent
3e8ddd14d6
commit
7e989b70bf
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ type config struct {
|
|||
|
||||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue