import "github.com/google/go-cmp/cmp/internal/value"
name.go pointer_unsafe.go sort.go zero.go
IsZero reports whether v is the zero value. This does not rely on Interface and so can be used on unexported fields.
SortKeys sorts a list of map keys, deduplicating keys if necessary. The type of each value must be comparable.
TypeString is nearly identical to reflect.Type.String, but has an additional option to specify that full type names be used.
type Pointer struct {
// contains filtered or unexported fields
}
Pointer is an opaque typed pointer and is guaranteed to be comparable.
PointerOf returns a Pointer from v, which must be a reflect.Ptr, reflect.Slice, or reflect.Map.
IsNil reports whether the pointer is nil.
Uintptr returns the pointer as a uintptr.
Package value imports 6 packages (graph) and is imported by 1 packages. Updated 2020-11-16. Refresh now. Tools for package owners.