diff --git a/README.md b/README.md index d752822..13f81c7 100644 --- a/README.md +++ b/README.md @@ -585,7 +585,7 @@ type config struct { var C config -err := Unmarshal(&C) +err := viper.Unmarshal(&C) if err != nil { t.Fatalf("unable to decode into struct, %v", err) }