(callers []uintptr)
| 329 | } |
| 330 | |
| 331 | func callersToFrames(callers []uintptr) []runtime.Frame { |
| 332 | frames := make([]runtime.Frame, 0, len(callers)) |
| 333 | framesPtr := runtime.CallersFrames(callers) |
| 334 | for { |
| 335 | frame, more := framesPtr.Next() |
| 336 | frames = append(frames, frame) |
| 337 | if !more { |
| 338 | return frames |
| 339 | } |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | type errorString string |
| 344 |
no outgoing calls
no test coverage detected
searching dependent graphs…