golangci-lint/test/testdata/structcheck.go

7 lines
121 B
Go

//golangcitest:args -Estructcheck
package testdata
type t struct {
unusedField int // want "`unusedField` is unused"
}