Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "maincheck", Doc: "Check that main function is located in a main.go file", Run: run, RunDespiteErrors: true, }
Analyzer contains an analyzer that makes sure that go target is always a func literal that calls defer log.HandlePanic as first statement.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.