SetConfigFile explicitly defines the path, name and extension of the config file. Viper will use this and not check any of the config paths.
(in string)
| 391 | // SetConfigFile explicitly defines the path, name and extension of the config file. |
| 392 | // Viper will use this and not check any of the config paths. |
| 393 | func SetConfigFile(in string) { v.SetConfigFile(in) } |
| 394 | |
| 395 | func (v *Viper) SetConfigFile(in string) { |
| 396 | if in != "" { |
nothing calls this directly
no test coverage detected