mvdan / gofumpt

A stricter gofmt
https://pkg.go.dev/mvdan.cc/gofumpt
BSD 3-Clause "New" or "Revised" License
3.15k stars 110 forks source link

install as a CLI #283

Closed kehiy closed 10 months ago

kehiy commented 10 months ago

how can I install it as a CLI? (for auto fix)

the go install ..... doesn't work!

cristaloleg commented 10 months ago

Have you tried go install mvdan.cc/gofumpt@latest ?

What is your Go version? (go version command).

kehiy commented 10 months ago

I found the issue, the problem was from my go path. simply copied the bin file to usr/bin.