Versions in this module Expand all Collapse all v0 v0.5.0 Nov 21, 2024 Changes in this version + func Clone(src interface{}) (interface{}, error) + func Compare(a, b interface{}) (bool, error) + func Convert(src interface{}, dstType reflect.Type) (interface{}, error) + func DeepClone(src interface{}) (interface{}, error) + func DeepCompare(a, b interface{}) bool + func Deserialize(data []byte, obj interface{}) error + func FilterFields(obj interface{}, condition func(fieldName string, fieldValue interface{}) bool) map[string]interface + func FromMap(obj interface{}, data map[string]interface{}) error + func GetField(obj interface{}, field string) (interface{}, error) + func GetFieldNames(obj interface{}) ([]string, error) + func IsEqual(a, b interface{}) bool + func IsNil(obj interface{}) bool + func Merge(a, b map[string]interface{}) map[string]interface + func MergeAndOverride(a, b map[string]interface{}) map[string]interface + func Serialize(obj interface{}) ([]byte, error) + func SetField(obj interface{}, field string, value interface{}) error + func SetFields(obj interface{}, fields map[string]interface{}) error + func ToMap(obj interface{}) (map[string]interface{}, error) + func TypeOf(obj interface{}) string + func Validate(obj interface{}) error + type BaseObject interface + GetID func() interface{}