mirror of
https://github.com/spf13/viper
synced 2025-05-06 12:17:18 +00:00
Grammar fix in doc
This commit is contained in:
parent
5ed0fc31f7
commit
6a2c991955
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -308,7 +308,7 @@ func (v *Viper) mergeWithEnvPrefix(in string) string {
|
||||||
// (cammel case to snake case for JSON keys perhaps)
|
// (cammel case to snake case for JSON keys perhaps)
|
||||||
|
|
||||||
// getEnv is a wrapper around os.Getenv which replaces characters in the original
|
// getEnv is a wrapper around os.Getenv which replaces characters in the original
|
||||||
// key. This allows env vars which have different keys then the config object
|
// key. This allows env vars which have different keys than the config object
|
||||||
// keys
|
// keys
|
||||||
func (v *Viper) getEnv(key string) string {
|
func (v *Viper) getEnv(key string) string {
|
||||||
if v.envKeyReplacer != nil {
|
if v.envKeyReplacer != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue