go vet
built-in 0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "go vet"
keep = ["\\.go:\\d+"]
[on_success]
output = "✓ go vet: ok"
[on_failure]
tail = 20
Examples
vet issues show file references
~28 tokens → ~25 tokens
(11% saved)
Raw output
# myproject ./main.go:10:5: printf: wrong type for string ./handler.go:34:2: loop variable captured by func literal
Filtered output
./main.go:10:5: printf: wrong type for string ./handler.go:34:2: loop variable captured by func literal
clean vet collapses to single line
~0 tokens → ~3 tokens
Raw output
Filtered output
✓ go vet: ok
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters