Inspectopedia Help

Unused exported type

Reports unused exported types in the main package and in tests. For more information about exported identifiers, see Exported identifiers at

type User struct {} func main() {}

The User struct type is declared but never used in the code. This type will be grayed out.

Inspection Details

Available in:

GoLand 2023.3



Last modified: 13 July 2023