InConfig checks to see if the given key (or an alias) is in the config file.
(key string)
| 1463 | |
| 1464 | // InConfig checks to see if the given key (or an alias) is in the config file. |
| 1465 | func InConfig(key string) bool { return v.InConfig(key) } |
| 1466 | |
| 1467 | func (v *Viper) InConfig(key string) bool { |
| 1468 | lcaseKey := strings.ToLower(key) |