gofmt¶
Gofmt-specific options.
Backend: pants.backend.experimental.go
Config section: [gofmt]
Basic options¶
skip
¶
--[no-]gofmt-skip
PANTS_GOFMT_SKIP
default: False
If true, don't use gofmt when running pants fmt
and pants lint
.
args
¶
--gofmt-args="[<shell_str>, <shell_str>, ...]"
PANTS_GOFMT_ARGS
default: []
Arguments to pass directly to gofmt, e.g. --gofmt-args='-s -e'
.
Only the following style related options are supported: -e
, -r
, -s
.
Advanced options¶
None
Deprecated options¶
None