Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 893 Bytes

gofmt.md

File metadata and controls

45 lines (27 loc) · 893 Bytes
description title layout
Gofmt simplifies Go coding by automatically formatting code to match Go's style guidelines, enhancing readability and teamwork without the manual hassle.
Trunk | How to run Gofmt
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

Gofmt

Gofmt is a formatter for Go.

You can enable the Gofmt formatter with:

trunk check enable gofmt

Auto Enabling

Gofmt will be auto-enabled if any Go files are present.

Links