Inspectopedia
 
2024.3

Type parameter is declared in lowercase

Info
Code Style
New
Last modified: 03 December 2024

Reports type parameters that are declared in lowercase.

Examples in the official Go documentation use type parameters in uppercase. This inspection follows this uppercase rule for type parameters.

The type parameter t is declared in lowercase and thus will be reported.