From fb70b256fb8e1557743d2b5999802155409b4411 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 21 Sep 2017 11:29:30 +0900 Subject: [PATCH] ing --- config.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config.go b/config.go index cec86e7..a1a81be 100644 --- a/config.go +++ b/config.go @@ -16,7 +16,6 @@ type Configurator interface { SetConfigPath(in string) error Load(target interface{}, files ...string) error LoadReader(target interface{}, ext string, in io.Reader) error - Save(target interface{}, file string, overWrite bool) error SetEnvPrefix(in string) } @@ -88,9 +87,6 @@ func (c *config) LoadReader(target interface{}, ext string, in io.Reader) error // Save store to configuration file from disk func Save(target interface{}, file string, overWrite bool) error { - return _c.Save(target, file, overWrite) -} -func (c *config) Save(target interface{}, file string, overWrite bool) error { var absPath string var err error if absPath, err = ABSPathify(file); nil != err {