Unused exported type
Reports unused exported types in the main
package and in tests. For more information about exported identifiers, see Exported identifiers at go.dev.
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 |
Plugin: | Go, 233.SNAPSHOT |
Last modified: 13 July 2023