()
| 212 | } |
| 213 | |
| 214 | func callers() *stack { |
| 215 | const depth = 32 |
| 216 | var pcs [depth]uintptr |
| 217 | n := runtime.Callers(4, pcs[:]) |
| 218 | var st stack = pcs[0:n] |
| 219 | return &st |
| 220 | } |
| 221 | |
| 222 | // funcname removes the path prefix component of a function's name reported by func.Name(). |
| 223 | func funcname(name string) string { |
no outgoing calls
no test coverage detected
searching dependent graphs…