Documentation
¶
Overview ¶
Package boringlint enforces a deliberately restricted Go dialect.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoGenericMethod = &analysis.Analyzer{
Name: "nogenericmethod",
Doc: "reject generic method declarations and uses\n\n" +
"nogenericmethod rejects method-local type parameters introduced in Go 1.27; " +
"use a package-level generic function",
URL: "https://github.com/KrishRVH/boringlint#nogenericmethod",
Run: runNoGenericMethod,
}
NoGenericMethod rejects generic method declarations and uses.
View Source
var NoIterator = &analysis.Analyzer{
Name: "noiterator",
Doc: "reject range-over-function and iterator-shaped types in project type, function, and method declarations\n\n" +
"noiterator rejects direct iter imports, range-over-function, and " +
"iterator-shaped types in project type, function, and method declarations",
URL: "https://github.com/KrishRVH/boringlint#noiterator",
Run: runNoIterator,
}
NoIterator rejects direct iter imports, iterator-shaped types in project type, function, and method declarations, and range-over-function.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
boringlint
command
Command boringlint is a vet tool for a deliberately restricted Go dialect.
|
Command boringlint is a vet tool for a deliberately restricted Go dialect. |
Click to show internal directories.
Click to hide internal directories.