Fix import syntax in README.md.

This commit is contained in:
David Symonds 2015-10-26 14:36:42 +11:00 committed by spf13
parent d2f75b4bef
commit 493be7d534
1 changed files with 1 additions and 1 deletions

View File

@ -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` To enable remote support in Viper, do a blank import of the `viper/remote`
package: 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 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 in a Key/Value store such as Etcd or Consul. These values take precedence over