Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 340 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 340 Bytes

printlint

This package warns when fmt.Println or friends are used.

Example

$ go install github.com/bahlo/printlint/cmd/printlint
$ go vet -vettool=$GOBIN/printlint ./test
# github.com/bahlo/printlint/test
test/print.go:8:2: fmt.Println found "fmt.Println(\"foo bar\")"

References

https://github.com/fatih/addlint