Go properties

The properties for the fortify-sca.properties file in the following table apply to the translation of Go code.

Property name Description
com.fortify.sca.
gotags

Specifies custom build tags for a Go project. This is equivalent to the -tags option for the go command.

Value type: String

Default: (none)

Command-line option: -gotags

com.fortify.sca.
GOPATH

Specifies the root directory of your project/workspace.

Value type: String

Default: (GOPATH system environment variable)

com.fortify.sca.
GOROOT
 

Specifies the location of the Go installation.

Value type: String

Default: (GOROOT system environment variable)

com.fortify.sca.
GOPROXY

Specifies one or more comma-separated proxy URLs. You can also specify direct or off.

Value type: String

Default: (GOPROXY system environment variable)

See also

Translating Go code