From 7e989b70bf74c86a84003829f8e2ac4d590c015a Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Fri, 6 Dec 2019 13:45:02 +0100 Subject: [PATCH] Fix readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.