Inspectopedia 2024.3 Help

General

Cyclic imports   New in this release

Reports cyclic imports.

Deprecated element  

Reports usages of deprecated elements.

Disabled GOPATH indexing   New in this release

Reports disabled GOPATH indexing that might prevent proper resolution of code references.

Fuzzing is supported starting with Go 1.18   New in this release

Reports presence of fuzz tests when Go SDK version is less than 1.18.

Malformed test function name   New in this release

Reports malformed names of tests, benchmarks, and examples.

Missing trailing comma before a newline in a composite literal   New in this release

Reports a missing trailing comma before a newline in composite literals, function call arguments, and function parameter lists.

Redundant parentheses   New in this release

Reports redundant parentheses in expressions and types.

Unexported return type of the exported function   New in this release

Reports exported functions with unexported return types.

Unnecessarily exported identifier   New in this release

Reports exported identifiers that are used only in the package where they are defined but are not used in other packages.

Usage of 'interface{}' as a type   New in this release

Reports usages of the empty interface as a type or type constraint.

Usage of context.TODO()   New in this release

Reports usages of context.TODO().

Last modified: 03 December 2024