()
| 6 | package github |
| 7 | |
| 8 | func main() { |
| 9 | // Literal argument cannot be addressed. |
| 10 | _ = Ptr("a.txt") |
| 11 | |
| 12 | const file = "a.txt" |
| 13 | _ = Ptr(file) |
| 14 | |
| 15 | for range []int{1, 2} { |
| 16 | _ = Ptr("a") |
| 17 | } |
| 18 | |
| 19 | _ = Ptr(getOptions().Mode) |
| 20 | } |
| 21 | |
| 22 | func getOptions() struct { |
| 23 | Mode string |
nothing calls this directly
no test coverage detected
searching dependent graphs…