github.com/vanstinator/golangci-lint@v0.0.0-20240223191551-cc572f00d9d1/test/testdata/interfacer.go (about) 1 //golangcitest:args -Einterfacer --internal-cmd-test 2 package testdata 3 4 import "io" 5 6 func InterfacerCheck(f io.ReadCloser) { // want "`f` can be `io.Closer`" 7 f.Close() 8 }