Skip to content
Docs Try Aspire
Docs Try

withModVendor

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

Signature

method withModVendor builder
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

Applies to

This method applies to the following types: