修改changelog信息和deepsource问题

This commit is contained in:
ruancongyong
2021-05-24 21:40:52 +08:00
parent 23d191da9a
commit b159750ef4
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ func mock(pv reflect.Value) (err error) {
// mock slice value
func mockSlice(tagValue string, pvv reflect.Value) (err error) {
if len(tagValue) == 0 {
if tagValue == "" {
return
}
sliceMetas := strings.Split(tagValue, ":")