mirror of https://github.com/spf13/viper.git
Fix import syntax in README.md.
This commit is contained in:
parent
d2f75b4bef
commit
493be7d534
|
@ -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