Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithVetTool

Method
📦 Aspire.Hosting.Go v17.0.0
func (GoAppResource) WithVetTool() GoAppResource

Signature

methodWithVetToolbuilder
Runs go vet ./... before starting the application to catch static analysis issues. The main application waits for the vet step to complete successfully before launching.
WithVetTool() GoAppResource
GoAppResource

The resource builder.

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

Applies to

This method applies to the following types: