Registry / utility / sdboyer-constext

sdboyer-constext

JSON →
library0.0.0-20170321163424-836a14457353gogounverified

Provides a constant context that never expires, useful for testing and background operations.

go get github.com/sdboyer/constext
INSTALL
IMPORT
SIG · SDBOYER-CONSTEXT
S
sdboyer-constext
utilitygov0.0.0-20170321163424-836a14457353
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

constext
github.com/sdboyer/constext

Creates a constant context from a background context.

package main import ( "context" "fmt" "github.com/sdboyer/constext" ) func main() { ctx := constext.New(context.Background()) fmt.Println(ctx.Err()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170321163424-836a14457353latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
sdboyer-constext — go get sdboyer-constext · libregistry