This commit is contained in:
crusader 2017-09-19 17:15:06 +09:00
parent 07be57fe25
commit 235b33fa1b

View File

@ -33,6 +33,10 @@ func New() Configurator {
var _c *config var _c *config
func init() {
_c = &config{}
}
// SetConfigPath set a path to search for the config file in. // SetConfigPath set a path to search for the config file in.
func SetConfigPath(in string) error { return _c.SetConfigPath(in) } func SetConfigPath(in string) error { return _c.SetConfigPath(in) }
func (c *config) SetConfigPath(in string) error { func (c *config) SetConfigPath(in string) error {