mirror of
https://github.com/spf13/viper
synced 2025-05-06 20:27:17 +00:00
use export GetConfigFile
This commit is contained in:
parent
3092f8771d
commit
3f71ac11c6
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -1707,7 +1707,7 @@ func (v *Viper) SetConfigType(in string) {
|
|||
}
|
||||
|
||||
// GetConfigFile gets the the configuration file path
|
||||
func GetConfigFile() (string, error) { return v.getConfigFile() }
|
||||
func GetConfigFile() (string, error) { return v.GetConfigFile() }
|
||||
func (v *Viper) GetConfigFile() (string, error) {
|
||||
return v.getConfigFile()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue