fix conf
This commit is contained in:
parent
0218dfd02e
commit
98ee26f215
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue