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 {
|
func sliceOfStringsContains(slice []string, v string) bool {
|
||||||
for _, item := range slice {
|
for _, item := range slice {
|
||||||
if item == v {
|
if item == v {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetChangedStructFields(dataItem reflect.Value, fieldNamesFilter func(string) bool) (map[string]reflect.Value, error) {
|
func GetChangedStructFields(dataItem reflect.Value, fieldNamesFilter func(string) bool) (map[string]reflect.Value, error) {
|
||||||
|
|
Loading…
Reference in New Issue