type runtime/trace.Task
7 uses
runtime/trace (current package)
annotation.go#L38: func NewTask(pctx context.Context, taskType string) (ctx context.Context, task *Task) {
annotation.go#L42: s := &Task{id: id}
annotation.go#L65: func fromContext(ctx context.Context) *Task {
annotation.go#L66: if s, ok := ctx.Value(traceContextKey{}).(*Task); ok {
annotation.go#L73: type Task struct {
annotation.go#L79: func (t *Task) End() {
annotation.go#L90: var bgTask = Task{id: uint64(0)}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |