Gofmt
Run gofmt to format all incoming Go code.
Configuration — deepsource.toml
deepsource.toml
This section covers configuration specific to the gofmt
transformer. Please make sure to read the general configuration guide first.
name
Type: String
Presence: mandatory
Description: Shortcode of this transformer.
Example:
name = "gofmt"
enabled
Type: Boolean
Presence: optional
Description: Toggle whether this transformer should be run.
Example:
enabled = true
Updated about 1 year ago