Skip to content
Docs Try Aspire
Docs Try

GoAppResource.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

Defined on

This method is defined on the following type: