package value
Import Path
github.com/google/go-cmp/cmp/internal/value (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Package-Level Type Names (only one, which is exported)
Pointer is an opaque typed pointer and is guaranteed to be comparable.
p unsafe.Pointer
t reflect.Type
IsNil reports whether the pointer is nil.
Uintptr returns the pointer as a uintptr.
func PointerOf(v reflect.Value) Pointer
func github.com/google/go-cmp/cmp.formatPointer(p Pointer, withDelims bool) string
func github.com/google/go-cmp/cmp.makeLeafReference(p Pointer, printAddress bool) cmp.textNode
func github.com/google/go-cmp/cmp.wrapTrunkReference(p Pointer, printAddress bool, s cmp.textNode) cmp.textNode
func github.com/google/go-cmp/cmp.wrapTrunkReferences(pp [2]Pointer, s cmp.textNode) cmp.textNode
Package-Level Functions (total 5, in which 3 are exported)
PointerOf returns a Pointer from v, which must be a
reflect.Ptr, reflect.Slice, or reflect.Map.
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.
Package-Level Variables (only one, which is unexported)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)