style: using effective go and refactoring

This commit is contained in:
Kay
2023-08-21 20:17:25 +08:00
committed by fiatjaf_
parent abb66db97e
commit ac2350c722
17 changed files with 81 additions and 68 deletions

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
### Tools needed for development
devtools:
@echo "Installing devtools"
go install mvdan.cc/gofumpt@latest
### Formatting, linting, and vetting
fmt:
gofumpt -l -w .