Go Fmt

Go Fmt

rootwarp Updated 2 repo stars

File contents

/go-fmt

Format Go source files.

Instructions

Format all Go files in the project:

gofmt -w .

Or use goimports if available for better import management:

if command -v goimports &> /dev/null; then
    goimports -w .
else
    gofmt -w .
fi

rootwarp/claude-code-plugins-monorepo commit 81f8d705fa

Frequently asked questions

npx get-skill add rootwarp/go-fmt