• Kirill Smelkov's avatar
    go/internal/task: New package (draft) · 041d36e3
    Kirill Smelkov authored
    To use something like
    
    	defer task.Running(&ctx, "my task")(&err)
    
    that will create the task, trace its begin/end and integrate with return
    error.
    
    Probably this package should be integrated one way or another with
    go/internal/xcontext/task.
    041d36e3
task.go 2.13 KB