mirror of
https://github.com/spf13/viper
synced 2025-05-06 20:27:17 +00:00
Merge 9ca9d6745d
into aafc9e6bc7
This commit is contained in:
commit
5a520d2811
1 changed files with 4 additions and 0 deletions
4
viper.go
4
viper.go
|
@ -1675,6 +1675,10 @@ func (v *Viper) AllSettings() map[string]interface{} {
|
|||
return m
|
||||
}
|
||||
|
||||
// ConfigPaths returns all config paths that Viper searches for config files in.
|
||||
func ConfigPaths() []string { return v.configPaths }
|
||||
func (v *Viper) ConfigPaths() []string { return v.configPaths }
|
||||
|
||||
// SetFs sets the filesystem to use to read configuration.
|
||||
func SetFs(fs afero.Fs) { v.SetFs(fs) }
|
||||
func (v *Viper) SetFs(fs afero.Fs) {
|
||||
|
|
Loading…
Add table
Reference in a new issue