Skip to content
Analyzer: reports context.Context which belongs to a struct as a field
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/ctxfield
testdata/src
.travis.yml
LICENSE
README.md
ctxfield.go
ctxfield_test.go
go.mod
go.sum

README.md

ctxfield Go Documentation Travis Go Report Card codecov

ctxfield reports context.Context which belongs to a struct as a field. ctxfield ignores a struct which implements an interface.

Install

$ go get github.com/gostaticanalysis/ctxfield/cmd/ctxfield

Usage

$ go vet -vettool=`which ctxfield` pkgname
You can’t perform that action at this time.