core go mod tidy
Add missing and remove unused modules.
Wrapper around go mod tidy. Ensures go.mod and go.sum are in sync with the source code.
Usage
bash
core go mod tidyWhat It Does
- Adds missing module requirements
- Removes unused module requirements
- Updates go.sum with checksums
Examples
bash
# Tidy the current module
core go mod tidy