From dfeb0482d08cc65049e43b762f144dbc3de65329 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 17 Apr 2018 15:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89gcfg=E5=8C=85=E4=B8=AD?= =?UTF-8?q?=E7=9A=84debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g/os/gcfg/gcfg.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/g/os/gcfg/gcfg.go b/g/os/gcfg/gcfg.go index 121536ec7..eccfef613 100644 --- a/g/os/gcfg/gcfg.go +++ b/g/os/gcfg/gcfg.go @@ -15,7 +15,6 @@ import ( "gitee.com/johng/gf/g/container/gmap" "gitee.com/johng/gf/g/encoding/gjson" "gitee.com/johng/gf/g/container/gtype" - "fmt" ) const ( @@ -65,7 +64,6 @@ func (c *Config) GetPath() string { // 添加配置文件到配置管理器中,第二个参数为非必须,如果不输入表示添加进入默认的配置名称中 func (c *Config) getJson(file []string) *gjson.Json { fpath := c.filePath(file) - fmt.Println(fpath) if r := c.jsons.Get(fpath); r != nil { return r.(*gjson.Json) }