Documentation ¶
Index ¶
- func ComputeHash(object interface{}) (string, error)
- func Difference(left, right *set.LinkedHashSetString) *set.LinkedHashSetString
- func EqSet(left, right *set.LinkedHashSetString) bool
- func FromConfigFiles(files []string) (map[string]string, error)
- func JSONPatch(originalJSON, modifiedJSON interface{}) ([]byte, error)
- func MapKeyDifference[T interface{}](left, right map[string]T) *set.LinkedHashSetString
- func Max[T constraints.Ordered](l, r T) T
- func Min[T constraints.Ordered](l, r T) T
- func RetrievalWithJSONPath(jsonObj interface{}, jsonpath string) ([]byte, error)
- func Safe2Int32(v int) int32
- func ToSet[T interface{}](v map[string]T) *set.LinkedHashSetString
- func Union(left, right *set.LinkedHashSetString) *set.LinkedHashSetString
- func UnstructuredObjectWalk(data interface{}, fn NodeProcessFn, onlyAccessNode bool) error
- type NodeProcessFn
- type UpdateFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHash ¶
func Difference ¶
func Difference(left, right *set.LinkedHashSetString) *set.LinkedHashSetString
func EqSet ¶
func EqSet(left, right *set.LinkedHashSetString) bool
func MapKeyDifference ¶
func MapKeyDifference[T interface{}](left, right map[string]T) *set.LinkedHashSetString
func Max ¶
func Max[T constraints.Ordered](l, r T) T
func Min ¶
func Min[T constraints.Ordered](l, r T) T
func RetrievalWithJSONPath ¶
func Safe2Int32 ¶ added in v0.6.0
func ToSet ¶
func ToSet[T interface{}](v map[string]T) *set.LinkedHashSetString
func Union ¶
func Union(left, right *set.LinkedHashSetString) *set.LinkedHashSetString
func UnstructuredObjectWalk ¶
func UnstructuredObjectWalk(data interface{}, fn NodeProcessFn, onlyAccessNode bool) error
Types ¶
type NodeProcessFn ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.