golangci-lint/test/testdata/structcheck.go

6 lines
153 B
Go

package testdata
type t struct { // nolint:megacheck // ERROR "`t` is unused"
unusedField int // nolint:megacheck // ERROR "`unusedField` is unused"
}