package
0.0.0-20241210054802-24370beab758
Repository: https://github.com/kubernetes/utils.git
Documentation: pkg.go.dev
# README
Pointer
This package provides some functions for pointer-based operations.
# Functions
AllPtrFieldsNil tests whether all pointer fields in a struct are nil.
Deref dereferences ptr and returns the value it points to if no nil, or else returns def.
Equal returns true if both arguments are nil or both arguments dereference to the same value.
To returns a pointer to the given value.