Back to godoc.org
golang.org/x/tools/internal/xcontext

package xcontext

v0.0.0 (4d5ea46)
Latest Go to latest
Published: 4 hours ago | License: BSD-3-Clause | Module: golang.org/x/tools

Overview

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

Index

func Detach

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier