()
| 78 | } |
| 79 | |
| 80 | func 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 | |
| 94 | func ExampleIsNil() { |
| 95 | a := 1 |
nothing calls this directly
no test coverage detected
searching dependent graphs…