Gofmt simplifies Go coding by automatically formatting code to match Go's style guidelines, enhancing readability and teamwork without the manual hassle.
Gofmtarrow-up-right is a formatter for Go.
You can enable the Gofmt formatter with:
trunk check enable gofmt
Gofmt will be auto-enabled if any Go files are present.
Gofmt sitearrow-up-right
Gofmt Trunk Code Quality integration sourcearrow-up-right
Trunk Code Quality's open source plugins repoarrow-up-right
Last updated 1 year ago