From 2f600c9a71a4faeea3456039379f5db1d22a95d5 Mon Sep 17 00:00:00 2001 From: yhliyr Date: Wed, 27 Sep 2023 14:55:52 +0800 Subject: [PATCH] docs: add set subset KV example --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f451881..c04cdda 100644 --- a/README.md +++ b/README.md @@ -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