Go is just a convince wrapper to set off a labeled goroutine.
(ctx context.Context, labels pprof.LabelSet, f func(context.Context))
| 7 | |
| 8 | // Go is just a convince wrapper to set off a labeled goroutine. |
| 9 | func Go(ctx context.Context, labels pprof.LabelSet, f func(context.Context)) { |
| 10 | go pprof.Do(ctx, labels, f) |
| 11 | } |
| 12 | |
| 13 | func Do(ctx context.Context, labels pprof.LabelSet, f func(context.Context)) { |
| 14 | pprof.Do(ctx, labels, f) |
no test coverage detected