format
This commit is contained in:
parent
fa12207e07
commit
4f471d7ea6
12
save.go
12
save.go
|
@ -436,12 +436,12 @@ func GetChangedRootStructFields(data meta.IMetaStruct, fieldNames []string) map[
|
|||
}
|
||||
|
||||
func sliceOfStringsContains(slice []string, v string) bool {
|
||||
for _, item := range slice {
|
||||
if item == v {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
for _, item := range slice {
|
||||
if item == v {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func GetChangedStructFields(dataItem reflect.Value, fieldNamesFilter func(string) bool) (map[string]reflect.Value, error) {
|
||||
|
|
Loading…
Reference in New Issue