Skip to content
Docs Try Aspire
Docs Try

GoAppResource.withModTidy

Method
📦 Aspire.Hosting.Go v13.4.0-preview.1.26281.18
interface GoAppResource {
// ... omitted for brevity
withModTidy(): GoAppResource;
}

Signature

method withModTidy builder
Runs `go mod tidy` before starting the application, ensuring `go.sum` is up to date. The main application waits for the tidy step to complete successfully before launching.
withModTidy(): GoAppResource
GoAppResource

Defined on

This method is defined on the following type: