Skip to content

Commit 4024795

Browse files
committed
添加注释
1 parent 826821e commit 4024795

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func (c *Config) GetData(s, k string, result interface{}, d interface{}) error {
121121
return nil
122122
}
123123

124+
//LoadConfig 加载文件形式配置文件, 并解析成指定结构.
124125
func LoadConfig(path string, result interface{}) error {
125126
c, err := NewConfig(path)
126127
if err != nil {

0 commit comments

Comments
 (0)