优化逻辑
This commit is contained in:
+1
-1
@@ -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 (
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# 导入资源
|
||||
|
||||
# 通过embed导入
|
||||
|
||||
# 通过文件导入
|
||||
|
||||
# 追加导入
|
||||
Reference in New Issue
Block a user