type golang.org/x/pkgsite/internal/xcontext.detachedContext
6 uses
golang.org/x/pkgsite/internal/xcontext (current package)
xcontext.go#L16: func Detach(ctx context.Context) context.Context { return detachedContext{ctx} }
xcontext.go#L18: type detachedContext struct{ parent context.Context }
xcontext.go#L20: func (v detachedContext) Deadline() (time.Time, bool) { return time.Time{}, false }
xcontext.go#L21: func (v detachedContext) Done() <-chan struct{} { return nil }
xcontext.go#L22: func (v detachedContext) Err() error { return nil }
xcontext.go#L23: func (v detachedContext) Value(key interface{}) interface{} { return v.parent.Value(key) }
 |
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. |