[skip ci] gofumpt documentation
This commit is contained in:
parent
bf36694621
commit
11f0018580
1 changed files with 17 additions and 2 deletions
|
@ -26,10 +26,25 @@ make test
|
|||
require node:
|
||||
make test-frontend
|
||||
|
||||
require go:
|
||||
require go:
|
||||
make lint-backend
|
||||
make test-backend
|
||||
|
||||
#nvm - required to build forgejo frontend
|
||||
### gofumpt:
|
||||
Installation:
|
||||
go install mvdan.cc/gofumpt@latest
|
||||
|
||||
Usage:
|
||||
gofumpt --help
|
||||
|
||||
eg:
|
||||
gofumpt -l -d .
|
||||
|
||||
further autolinting:
|
||||
make lint-go-fix
|
||||
|
||||
|
||||
## nvm - required to build forgejo frontend
|
||||
sudo apt remove nodejs
|
||||
sudo apt autoremove
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue