go mod tidy

0.0% Savings
0 Commands
0 Tokens saved
2 Tests

Install

tokf install 6729a73a09ce4aa58b4ea6ba1ab21313273ab27a7b80dbe2840a71a6d77ad8c0
Safety checks passed

Filter definition

command = "go mod tidy"

strip_ansi = true
strip_empty_lines = true

skip = [
    "^go: downloading ",
    "^go: finding ",
    "^go: extracting ",
]

[on_success]
output = "✓ go mod tidy: ok"

[on_failure]
tail = 20

Examples

failure shows error details ~58 tokens → ~30 tokens (48% saved)
Raw output
go: downloading github.com/aws/aws-sdk-go-v2 v1.24.0
go: finding module for package github.com/missing/package

go: github.com/gw/api imports
	github.com/missing/package: cannot find module providing package github.com/missing/package
Filtered output
go: github.com/gw/api imports
	github.com/missing/package: cannot find module providing package github.com/missing/package
success filters download noise ~70 tokens → ~4 tokens (94% saved)
Raw output
go: downloading github.com/aws/aws-sdk-go-v2 v1.24.0
go: downloading github.com/aws/aws-sdk-go-v2/config v1.26.0
go: downloading github.com/stretchr/testify v1.8.4
go: finding module for package github.com/stretchr/testify/assert
go: extracting github.com/aws/aws-sdk-go-v2 v1.24.0
Filtered output
✓ go mod tidy: ok
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters