Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithModVendor

Method
📦 Aspire.Hosting.Go v17.0.0
func (GoAppResource) 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().

Applies to

This method applies to the following types: