|License Type||SaaS & On-Premise|
|Agent Mode||Assess & Protect|
|Main Product Category||Go Agent|
The contrast-go build tool supports some runtime flags to control how the application is instrumented as it is built.
These build time flags are supported:
contrast-go [flags] build
-dprovides a dry-run of the rewriting for workflow validation.
-dataflowenable dataflow rewrites (assess) (default true).
-ecuenable ecu rewrites (default true).
-go stringoverride the command to use for Go. (default "go")
-nodepsexcludes dependencies from rewriting; only instrument packages within the target package's module.
-savesave rewritten source files after compilation.
-vincreases the level of logging when building application.
-versiondisplays the current version of the Contrast agent.
-vvincludes all logging when building the application. This configuration option is very verbose.
-h to get help.