From 287507c0b5a13320f9b616e458ab7f3aadab1603 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 5cbcfc6f3..78102fbe2 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