merge update
This commit is contained in:
parent
84575b53b0
commit
3a694a1e90
2
init.go
2
init.go
@ -51,7 +51,7 @@ func Init(configReceiver any, cliReceiver any, envReceiver any, fileReceiver any
|
||||
}
|
||||
|
||||
// 合并配置数据
|
||||
if err = serialize.JSON.MergeDataForReceiver(cliReceiver, fileReceiver, envReceiver, configReceiver); nil != err {
|
||||
if err = serialize.JSON.MergeDataForReceiver(fileReceiver, envReceiver, cliReceiver, configReceiver); nil != err {
|
||||
return errors.New("merge config data fail : " + err.Error())
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user