THIS IS ARCHIVED. Any changes that are here that were useful were already commited and added to the regular repository which contains the new gateway already refactored with Go.
- Install GO
- Install golangci-lint
- Install golines
go install github.com/segmentio/golines@latest
- For VS Code: install "Run on Save" externsion
Useful commands:
- To lint:
golangci-lint run -v
- To reformat long lines:
golines . -w --max-len=120 --base-formatter=gofmt
or to target a specific file replace.
with the filename in the command