A Go linter to report fmt.Println
which may have been unintentionally left in the code for debugging purposes.
go install github.com/konradreiche/shush/cmd/shush
shush ./...
You can also run it as part of go vet
.
go vet -vettool=$(which shush)