Fix import syntax in README.md.

This commit is contained in:
David Symonds 2015-10-26 14:36:42 +11:00
parent 1967d93db7
commit 824e0d24e0
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`
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