MCPcopy Create free account
hub / github.com/google/go-cmp / Pointer

Struct Pointer

cmp/internal/value/pointer.go:13–16  ·  view source on GitHub ↗

Pointer is an opaque typed pointer and is guaranteed to be comparable.

Source from the content-addressed store, hash-verified

11
12// Pointer is an opaque typed pointer and is guaranteed to be comparable.
13type Pointer struct {
14 p unsafe.Pointer
15 t reflect.Type
16}
17
18// PointerOf returns a Pointer from v, which must be a
19// reflect.Ptr, reflect.Slice, or reflect.Map.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected