Skip to content

Validate go-tidy

validate go-tidy - Validate Go module dependencies are tidy

Validates that all Go modules have tidy dependencies by running 'go mod tidy -diff'.

Notes

Expected Output:

Shows pass/fail status for 'go mod tidy' check on all Go modules. Displays diff output for untidy modules. Exit code 0 if all tidy, 1 if any untidy.

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.