MCPcopy Index your code
hub / github.com/duke-git/lancet / ExampleExtractPointer

Function ExampleExtractPointer

pointer/pointer_examples_test.go:80–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func ExampleExtractPointer() {
81 a := 1
82 b := &a
83 c := &b
84 d := &c
85
86 result := ExtractPointer(d)
87
88 fmt.Println(result)
89
90 // Output:
91 // 1
92}
93
94func ExampleIsNil() {
95 a := 1

Callers

nothing calls this directly

Calls 1

ExtractPointerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…