Documentation ¶
Overview ¶
Package comparablepanics defines an Analyzer that checks for usage of arguments constrainte by comparable that will panic at runtime at Go 1.20+.
Index ¶
Constants ¶
View Source
const Doc = `` /* 203-byte string literal not displayed */
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "comparablepanics", Doc: Doc, Requires: []*analysis.Analyzer{ inspect.Analyzer, usesgenerics.Analyzer, }, Run: run, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
comparablepanics
The comparablepanics command applies the github.com/nightlyone/comparablepanics analysis to the specified packages of Go source code.
|
The comparablepanics command applies the github.com/nightlyone/comparablepanics analysis to the specified packages of Go source code. |
Click to show internal directories.
Click to hide internal directories.