Documentation
¶
Overview ¶
Package analysis holds the Go analyzers of the SDK and runs them through go vet -vettool, as Analyzers in contract.md defines. Core's just lint and the check of extensionrepo run the same rules, at the Nicely version that the module selects.
Add a rule as a package of its own beside runnerdiscard, then list it in Analyzers. Its cases repeat the past mistake that the rule prevents, and fail first without the rule.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzers = []*goanalysis.Analyzer{ callerenv.Analyzer, runnerdiscard.Analyzer, }
Analyzers are the rules that nicelyvet runs.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package callerenv refuses a read of the whole environment of the caller in the test kit, the repository gates, and the TLC runner.
|
Package callerenv refuses a read of the whole environment of the caller in the test kit, the repository gates, and the TLC runner. |
|
cmd
|
|
|
nicelyvet
command
Command nicelyvet runs the analyzers of the SDK for go vet -vettool.
|
Command nicelyvet runs the analyzers of the SDK for go vet -vettool. |
|
Package runnerdiscard refuses io.Discard as the Stdout or Stderr of a runner.Program, as Analyzers in contract.md defines.
|
Package runnerdiscard refuses io.Discard as the Stdout or Stderr of a runner.Program, as Analyzers in contract.md defines. |
Click to show internal directories.
Click to hide internal directories.