- fork the repo
- use
make buildfor a first build - start a branch and hack your changes
- use
make testto test your changes - send a pull request
- glory, fame, money and glory (yes, twice)
-
Make sure your IDE runs
gofmt -w -son file save. -
Make sure your IDE adds a blank line at the end of the file.
-
To format on save, install the Go extension for VSCode and go to settings:
- in
Go: Format Flagsadd-w -s - in
Go: Format Toolsselectgofmt
- in
-
To insert a new line at the end of file on save, go to settings:
- in
Files: Insert Fina lNewlinemark the checkbox
- in