fixed marshal

This commit is contained in:
0xflotus 2019-02-10 08:00:42 +01:00 committed by GitHub
parent d104d259b3
commit 1be8a721bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -619,7 +619,7 @@ if err != nil {
### Marshalling to string ### Marshalling to string
You may need to marhsal all the settings held in viper into a string rather than write them to a file. You may need to marshal all the settings held in viper into a string rather than write them to a file.
You can use your favorite format's marshaller with the config returned by `AllSettings()`. You can use your favorite format's marshaller with the config returned by `AllSettings()`.
```go ```go