Registry / utility / sivchari-containedctx

sivchari-containedctx

JSON →
library1.0.3gogounverified

A Go linter that detects context.Context stored in structs, which is discouraged by Go best practices.

go get github.com/sivchari/containedctx
INSTALL
IMPORT
SIG · SIVCHARI-CONTAINED
S
sivchari-containedctx
utilitygov1.0.3
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.

containedctx
github.com/sivchari/containedctx

Run the containedctx linter as a standalone tool.

package main import ( "github.com/sivchari/containedctx" "golang.org/x/tools/go/analysis/singlechecker" ) func main() { singlechecker.Main(containedctx.Analyzer) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
sivchari-containedctx — go get sivchari-containedctx · libregistry