GoAppResource.WithAppArgs
Method
type GoAppResource interface { // ... omitted for brevity WithAppArgs(args []any) GoAppResource}Signature
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().
Defined on
This method is defined on the following type: