package
0.0.0-20250116055402-1c8b5ff8540c
Repository: https://github.com/nexuer/utils.git
Documentation: pkg.go.dev

# Functions

Equal returns true if both arguments are nil or both arguments dereference to the same value.
Ptr returns a pointer to the given value.
ValOrDef dereferences ptr and returns the value it points to if non-nil, or returns the provided default value if ptr is nil.
ValOrZero returns the pointer's value if non-nil, or the zero value of type T if nil.