Versions in this module Expand all Collapse all v1 v1.0.9 Feb 9, 2020 Changes in this version + var Canceled = context.Canceled + var DeadlineExceeded error = context.DeadlineExceeded + func Background() context.Context + func TODO() context.Context + func WithCancel(parent context.Context) (ctx context.Context, cancel context.CancelFunc) + func WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc) + func WithTimeout(parent context.Context, timeout time.Duration) (context.Context, context.CancelFunc) + func WithValue(parent context.Context, key, val interface{}) context.Context + type Context interface + Deadline func() (deadline time.Time, ok bool) + Done func() <-chan struct{} + Err func() error + Value func(key interface{}) interface{}