Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

GoAppResource.WithModTidy

Method
📦 Aspire.Hosting.Go v17.0.0
type GoAppResource interface {
// ... omitted for brevity
WithModTidy() GoAppResource
}

Signature

methodWithModTidybuilder
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

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: