A Value pointer is the handle to an underlying comparable value. See func Get for how Value pointers may be used.
type Value struct {
// contains filtered or unexported fields
}
func Get(cmpVal any) *Value
Get returns a pointer representing the comparable value cmpVal.
The returned pointer will be the same for Get(v) and Get(v2) if and only if v == v2, and can be used as a map key.
func GetByString(s string) *Value
GetByString is identical to Get, except that it is specialized for strings. This avoids an allocation from putting a string into an interface{} to pass as an argument to Get.
func (v *Value) Get() any
Get returns the comparable value passed to the Get func that returned v.