Unused type
Reports unused types.
type user struct {
FirstName string `json:"firstname"`
LastName string `json:"lastname"`
}
func main() {
}
The user
type will be grayed out because it is not used anywhere in code.
Inspection Details | |
---|---|
Available in: | GoLand 2023.3 |
Plugin: | Go, 233.SNAPSHOT |
Last modified: 13 July 2023