mirror of
https://github.com/spf13/viper
synced 2024-11-16 18:07:02 +00:00
Fix import syntax in README.md.
This commit is contained in:
parent
1967d93db7
commit
824e0d24e0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue