tools: golang.org/x/tools/internal/xcontext Index | Files

package xcontext

import "golang.org/x/tools/internal/xcontext"

Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.

Index

Package Files

xcontext.go

func Detach Uses

func Detach(ctx context.Context) context.Context

Detach returns a context that keeps all the values of its parent context but detaches from the cancellation and error handling.

Package xcontext imports 2 packages (graph) and is imported by 12 packages. Updated 2019-12-06. Refresh now. Tools for package owners.