ctxfield

package module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 4 Imported by: 2

README

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "ctxfield",
	Doc:  doc,
	Run:  new(runner).run,
	Requires: []*analysis.Analyzer{
		ident.Analyzer,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL