go vet

built-in
0.0% Savings
0 Commands
0 Tokens saved
2 Tests

Install

tokf install 49e9cddc1dadd7220c09b5a84e3c76233a1871426feedb0c81e40143dd364b99
Safety checks passed

Filter definition

command = "go vet"
description = "Show only diagnostic locations; confirm ok on success"
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