diff --git a/save.go b/save.go index 751880d..4292426 100644 --- a/save.go +++ b/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) {