Fix readme

This commit is contained in:
Mark Sagi-Kazar 2019-12-06 13:45:02 +01:00
parent 3e8ddd14d6
commit 7e989b70bf
No known key found for this signature in database
GPG key ID: 34CC109EB5ED1C2A

View file

@ -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.