This commit is contained in:
邹宗楠
2023-01-12 15:54:53 +08:00
parent 70ca31010d
commit 9b7d608071
8 changed files with 1 additions and 16 deletions

View File

@@ -1022,7 +1022,6 @@ type RelInfo struct {
func ToStringSlice(actual interface{}) ([]string, error) {
var res []string
value := reflect.ValueOf(actual)
globals.SugarLogger.Debugf("value.Kind()=========%s", value.Kind())
if value.Kind() != reflect.Slice || value.Kind() != reflect.Array {
return nil, errors.New("parse error")
}