github.com/tilotech/tilores-cli@v0.28.0/internal/pkg/step/modtidy.go (about)

     1  package step
     2  
     3  // ModTidy creates a step that runs go mod tidy.
     4  func ModTidy() error {
     5  	return runCommand(
     6  		"failed to tidy project dependencies: %v",
     7  		createCommand("go", "mod", "tidy"),
     8  	)()
     9  }