use export GetConfigFile

This commit is contained in:
liujianping 2018-07-12 11:21:39 +08:00
parent 3092f8771d
commit 3f71ac11c6

View file

@ -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()
}