archer-wyz

Results 1 issues of archer-wyz

我有一个函数: ```go func Create () error{ return errors.WithCode(errcode.Create, "创建错误") } ``` 测试中一般这样写: ```go testCases := []struct { name string wantErr error }{ name: "xxx", wantErr: errors.WithCode(errcode.Create, "创建错误") } } for...