mirror of https://github.com/spf13/viper.git
parent
3b4aca7571
commit
3349bd9cc2
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue