mirror of
https://github.com/spf13/viper
synced 2024-11-04 20:27:02 +00:00
fixed marshal (#647)
This commit is contained in:
parent
33688bf23c
commit
a52795991d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue