Skip to content

Commit

Permalink
docs: add set subset KV example
Browse files Browse the repository at this point in the history
  • Loading branch information
yhliyr authored and sagikazarmark committed Oct 6, 2023
1 parent f1cb226 commit 287507c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ These could be from a command line flag, or from your own application logic.
```go
viper.Set("Verbose", true)
viper.Set("LogFile", LogFile)
viper.Set("host.port", 5899) // set subset
```

### Registering and Using Aliases
Expand Down

0 comments on commit 287507c

Please sign in to comment.