github.com/nozzle/golangci-lint@v1.49.0-nz3/test/testdata/usestdlibvars.go (about) 1 //golangcitest:args -Eusestdlibvars 2 package testdata 3 4 import "net/http" 5 6 func _200() { 7 _ = 200 8 } 9 10 func _200_1() { 11 var w http.ResponseWriter 12 w.WriteHeader(200) // want `"200" can be replaced by http.StatusOK` 13 }