Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

GoAppResource.WithModVendor

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

Signature

methodWithModVendorbuilder
Runs go mod vendor before starting the application, caching all module dependencies in the local vendor/ directory. The main application waits for the vendor step to complete successfully before launching.
WithModVendor() GoAppResource
GoAppResource

The resource builder.

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

Defined on

This method is defined on the following type: