AddConfigPath adds a path for Viper to search for the config file in. Can be called multiple times to define multiple search paths.
(in string)
| 456 | // AddConfigPath adds a path for Viper to search for the config file in. |
| 457 | // Can be called multiple times to define multiple search paths. |
| 458 | func AddConfigPath(in string) { v.AddConfigPath(in) } |
| 459 | |
| 460 | func (v *Viper) AddConfigPath(in string) { |
| 461 | if v.finder != nil { |
nothing calls this directly
no test coverage detected