From 4f471d7ea699d3eeb94b9d6e885820b3116a469a Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Fri, 25 Nov 2022 13:00:09 +0300 Subject: [PATCH] format --- save.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) {