mirror of https://github.com/spf13/viper.git
Trailing space
This commit is contained in:
parent
4d7e75d1a0
commit
ef0f429f98
2
viper.go
2
viper.go
|
@ -649,7 +649,7 @@ func (v *Viper) Get(key string) interface{} {
|
||||||
|
|
||||||
// Sub returns new Viper instance representing a sub tree of this instance.
|
// Sub returns new Viper instance representing a sub tree of this instance.
|
||||||
// Sub is case-insensitive for a key. The Viper object that is returned however
|
// Sub is case-insensitive for a key. The Viper object that is returned however
|
||||||
// is not a fully functional `Viper`. It will not include any values set with
|
// is not a fully functional `Viper`. It will not include any values set with
|
||||||
// BindEnv and Unmarshal is not supported.
|
// BindEnv and Unmarshal is not supported.
|
||||||
func Sub(key string) *Viper { return v.Sub(key) }
|
func Sub(key string) *Viper { return v.Sub(key) }
|
||||||
func (v *Viper) Sub(key string) *Viper {
|
func (v *Viper) Sub(key string) *Viper {
|
||||||
|
|
Loading…
Reference in New Issue