ctxfield 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