refactor: 新增base.Repo与base.App,重构repo与app层代码

This commit is contained in:
meilin.huang
2023-10-26 17:15:49 +08:00
parent 10f6b03fb5
commit a1303b52eb
115 changed files with 1867 additions and 1696 deletions

View File

@@ -0,0 +1,11 @@
package biz
import (
"testing"
)
func TestErrIsNil(t *testing.T) {
// ErrIsNil(NewBizErr("xxx is error"))
// ErrIsNil(NewBizErr("xxx is error"), "格式错误")
// ErrIsNil(NewBizErr("xxx is error"), "格式错误: %s, %d", "xxx", 12)
}