https://github.com/bahlo/printlint
Report usage of fmt.Println and friends.
https://github.com/bahlo/printlint
golang govet linter println tools
Last synced: about 1 year ago
JSON representation
Report usage of fmt.Println and friends.
- Host: GitHub
- URL: https://github.com/bahlo/printlint
- Owner: bahlo
- License: mit
- Created: 2019-07-17T09:17:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-17T09:22:39.000Z (almost 7 years ago)
- Last Synced: 2025-01-12T04:53:37.316Z (over 1 year ago)
- Topics: golang, govet, linter, println, tools
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# printlint
This package warns when `fmt.Println` or friends are used.
## Example
```bash
$ 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