Regenerate go.sum

MSAL

Regenerate a Go module's go.sum from its go.mod by running go mod download, recomputing checksums for the whole module graph, including creating it when absent. Useful after a dependency version change to bring go.sum back in sync. Requires the go toolchain to be installed; otherwise go.sum is left unchanged.

org.openrewrite.golang.RegenerateGoSum
mod run . --recipe=org.openrewrite.golang.RegenerateGoSum

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.