ReadConfig will read a configuration file, setting existing keys to nil if the key does not exist in the file.
(in io.Reader)
| 1568 | // ReadConfig will read a configuration file, setting existing keys to nil if the |
| 1569 | // key does not exist in the file. |
| 1570 | func ReadConfig(in io.Reader) error { return v.ReadConfig(in) } |
| 1571 | |
| 1572 | func (v *Viper) ReadConfig(in io.Reader) error { |
| 1573 | config := make(map[string]any) |
nothing calls this directly
no test coverage detected
searching dependent graphs…