From 3a694a1e90eddfd3763ffdd0657a98555123173c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 25 Nov 2024 18:29:10 +0800 Subject: [PATCH] merge update --- init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.go b/init.go index e284ff3..9542aef 100644 --- a/init.go +++ b/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