Fix readme

This commit is contained in:
Mark Sagi-Kazar 2019-12-06 13:45:02 +01:00 committed by Márk Sági-Kazár
parent bdf2db0ff8
commit 6fcf985c5a

View file

@ -686,7 +686,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.