Documentation ¶
Overview ¶
Package featureconfig implements a static analyzer to prevent leaking globals in tests.
Index ¶
Constants ¶
View Source
const Doc = "Enforce usage of featureconfig.InitWithReset to prevent leaking globals in tests."
Doc explaining the tool.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "featureconfig", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer runs static analysis.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.