mirror of https://github.com/spf13/viper.git
Fix import syntax in README.md.
This commit is contained in:
parent
1967d93db7
commit
824e0d24e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue