package
0.0.0-20241210054802-24370beab758
Repository: https://github.com/kubernetes/utils.git
Documentation: pkg.go.dev
# README
This was originally forked from https://github.com/golang/go/blob/master/src/reflect/deepequal.go in order to
- consider empty lists and empty maps equal to their nil counterparts
- add a
AddFuncs
mechanism to add custom equality funcs for specific types.
Meanwhile it has diverged quite a lot while still following the original algorithm at the core though.
# Functions
EqualitiesOrDie adds the given funcs and panics on any error.
# Type aliases
Equalities is a map from type to a function comparing two values of that type.