From 493be7d534084c3382ddeddab6f78837381179b8 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Mon, 26 Oct 2015 14:36:42 +1100 Subject: [PATCH] Fix import syntax in README.md. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 754588f..dc4041a 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ viper.BindPFlag("port", serverCmd.Flags().Lookup("port")) To enable remote support in Viper, do a blank import of the `viper/remote` package: -`import _ github.com/spf13/viper/remote` +`import _ "github.com/spf13/viper/remote"` Viper will read a config string (as JSON, TOML, or YAML) retrieved from a path in a Key/Value store such as Etcd or Consul. These values take precedence over