优化逻辑

This commit is contained in:
Yun
2024-11-10 22:28:02 +08:00
parent f66e76883f
commit 7eaf21634c
11 changed files with 54 additions and 33 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func (l Language) Error() error {
}
func (l Language) Errorf(format map[string]string) error {
return langx.NewErrorFormat(context.Background(), l.String(), format)
return langx.NewErrorf(context.Background(), l.String(), format)
}
var (