go vet

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

Install

tokf install 7b6918e1c6f38c6036def47e6d179c2cc5af57613299b44fa02694a23216fc7e
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