From 3349bd9cc2887f06cc4efdc88894e7c3c0e6d872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20S=C3=A1gi-Kaz=C3=A1r?= Date: Fri, 14 Jun 2019 17:17:12 +0200 Subject: [PATCH] Improve Unmarshal docs (#713) Closes #589 Closes #588 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c7cfab1..24ffb20 100644 --- a/README.md +++ b/README.md @@ -643,6 +643,8 @@ if err != nil { } ``` +Viper uses [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) under the hood for unmarshaling values which uses `mapstructure` tags by default. + ### Marshalling to string You may need to marshal all the settings held in viper into a string rather than write them to a file.