()
| 106 | } |
| 107 | |
| 108 | func (t *outputT) Helper() { |
| 109 | if t.helpers == nil { |
| 110 | t.helpers = make(map[string]struct{}) |
| 111 | } |
| 112 | t.helpers[callerName(1)] = struct{}{} |
| 113 | } |
| 114 | |
| 115 | // callerName gives the function name (qualified with a package path) |
| 116 | // for the caller after skip frames (where 0 means the current function). |
no test coverage detected