mirror of
https://github.com/spf13/viper
synced 2025-05-07 12:47:18 +00:00
fixed marshal
This commit is contained in:
parent
d104d259b3
commit
1be8a721bb
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…
Add table
Reference in a new issue