Versions in this module Expand all Collapse all v0 v0.0.13 Dec 20, 2023 v0.0.12 Mar 3, 2022 Changes in this version + func IsEditAny(src interface{}, target interface{}, rule ...string) (string, bool, error) + func IsIn(src interface{}, target interface{}, keys ...string) (bool, error) + func IsInMapIntInt(a map[int]int, b int) bool + func Max(a, b int) int + func Min(a, b int) int + type InterfaceResult struct + func NewDiff(src, target interface{}, srcKey, targetKey string) (*InterfaceResult, error) + func (i *InterfaceResult) GetAdded() []interface{} + func (i *InterfaceResult) GetDeleted() []interface{} + func (i *InterfaceResult) GetUpdated() []interface{} + func (i *InterfaceResult) ScanAdded(pointer interface{}, mapping ...map[string]string) (err error) + func (i *InterfaceResult) ScanDeleted(pointer interface{}, mapping ...map[string]string) (err error) + func (i *InterfaceResult) ScanUpdated(pointer interface{}, mapping ...map[string]string) (err error)