github.com/golangCi/golangCi-lint@v1.10.1/test/testdata/unparam.go (about)

     1  // args: -Eunparam
     2  package testdata
     3  
     4  func unparamUnused(a, b uint) uint { // ERROR "`unparamUnused` - `b` is unused"
     5  	a++
     6  	return a
     7  }