From d42cd669676675ae3773f7604ba397cabdec639b Mon Sep 17 00:00:00 2001 From: Brad Peabody Date: Thu, 6 Apr 2017 16:33:43 -0700 Subject: [PATCH] fixed tabs --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fa107e3..78460d2 100644 --- a/README.md +++ b/README.md @@ -277,16 +277,16 @@ import ( func main() { - // using standard library "flag" package - flag.Int("flagname", 1234, "help message for flagname") + // using standard library "flag" package + flag.Int("flagname", 1234, "help message for flagname") pflag.CommandLine.AddGoFlagSet(flag.CommandLine) pflag.Parse() - viper.BindPFlags(pflag.CommandLine) + viper.BindPFlags(pflag.CommandLine) - i := viper.GetInt("flagname") // retrieve value from viper + i := viper.GetInt("flagname") // retrieve value from viper - ... + ... } ```