From 98ee26f21551ca30f82c2c2ab21d471913f37b26 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Thu, 20 Feb 2025 17:41:11 +0800 Subject: [PATCH] fix conf --- conf/new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/new.go b/conf/new.go index 32b84ff..d5e4b7e 100644 --- a/conf/new.go +++ b/conf/new.go @@ -51,7 +51,7 @@ func New(srvKey string, cfg any) { func NotNil(values ...string) { for _, value := range values { if strings.TrimSpace(value) == "" { - log.Fatalln("ERROR:Must config not nil") + log.Fatalln("ERROR:Must config key not nil") } } }