gopkg.in/golangci/golangci-lint.v1@v1.10.1/test/testdata/structcheck.go (about)

     1  // args: -Estructcheck
     2  package testdata
     3  
     4  type t struct {
     5  	unusedField int // ERROR "`unusedField` is unused"
     6  }