WithAppArgs
Method
func (GoAppResource) WithAppArgs(args []any) GoAppResourceSignature
method
WithAppArgs builderPasses extra arguments to the Go program at runtime. In normal run mode they appear after
go run .; in Delve mode after the -- separator.WithAppArgs(args []any) GoAppResourceParameters
args[]any The program arguments (e.g., "serve", "--config" , "prod.yaml" ).Returns
GoAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: