mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 09:31:40 -05:00

* Add gofumpt and goimports as formatter options * Add tests for gofumpt and goimports * changelog Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
6 lines
No EOL
296 B
Bash
6 lines
No EOL
296 B
Bash
# Require at least version 1.17 of go
|
|
# https://github.com/mvdan/gofumpt/issues/231
|
|
curl -OL https://golang.org/dl/go1.19.3.linux-amd64.tar.gz
|
|
sudo tar -C /usr/local -xvf go1.19.3.linux-amd64.tar.gz
|
|
/usr/local/go/bin/go install mvdan.cc/gofumpt@latest
|
|
cp -L "$HOME/go/bin/gofumpt" /usr/local/bin/ |