ing
This commit is contained in:
parent
07be57fe25
commit
235b33fa1b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user