diff --git a/README.md b/README.md index 149e7f0..e9970e4 100644 --- a/README.md +++ b/README.md @@ -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.