Documentation ¶
Overview ¶
Package oplint defines an Analyzer that reports Op const declarations When creating errors or logs, it is common to use an "op" constant to capture what function is making the call, to allow for debugging where a certain error took place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{
Name: "oplint",
Doc: "reports inconsistent op const declarations",
Run: run,
Flags: newFlagSet(),
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.