Versions in this module Expand all Collapse all v0 v0.0.5 Dec 22, 2020 Changes in this version + var ErrClosed = errors.New("run.Closer: already closed") + func Closer(runner Runner) io.Closer + func WaitCloser(runner Runner) io.Closer + type Func func(context.Context) error + func (f Func) Run(ctx context.Context) error + type Group struct + func NewGroup(ctx context.Context) *Group + func (g *Group) Cancel() + func (g *Group) Go(runner Runner) + func (g *Group) Wait() error + type Runner interface + Run func(context.Context) error