Documentation
¶
Overview ¶
Package lint is a custom linter for custom ccc lint rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CCCLint ¶
type CCCLint struct {
// contains filtered or unexported fields
}
CCCLint is the main struct for the ccc/lint plugin.
func (*CCCLint) BuildAnalyzers ¶
BuildAnalyzers builds the analyzers for the CCCLint plugin.
func (*CCCLint) GetLoadMode ¶
GetLoadMode returns the load mode for the CCCLint plugin.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
install-ccc-linter
command
Command install-ccc-linter installs the ccc-lint golangci-lint plugin.
|
Command install-ccc-linter installs the ccc-lint golangci-lint plugin. |
|
Package errwrap defines a linter that checks if error wrapping has the correct function name.
|
Package errwrap defines a linter that checks if error wrapping has the correct function name. |
|
Package otelspanname defines a linter that checks if OpenTelemetry span names match function names.
|
Package otelspanname defines a linter that checks if OpenTelemetry span names match function names. |
Click to show internal directories.
Click to hide internal directories.