til/Development/Go/README.md

30 lines
732 B
Markdown
Raw Normal View History

2021-04-03 16:58:41 +00:00
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `go`, `go-tools` |
2021-02-17 16:32:20 +00:00
Add to `~/.bashrc`, `~/.zshrc`:
2020-05-05 03:31:17 +00:00
2021-02-17 16:32:20 +00:00
```sh
2020-04-18 20:21:04 +00:00
export GOPATH=$HOME/go
export PATH="$PATH:$GOPATH/bin"
```
## Guideline
2022-06-28 08:41:08 +00:00
[Effective Go](https://go.dev/doc/effective_go)
2020-04-18 20:21:04 +00:00
[CommonMistakes](https://github.com/golang/go/wiki/CommonMistakes)
[CodeReviewComments](https://github.com/golang/go/wiki/CodeReviewComments)
[Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)
2022-06-28 08:41:08 +00:00
## Helpful libraries
2020-08-12 03:39:49 +00:00
2022-06-28 08:41:08 +00:00
- https://github.com/matryer/moq
- https://github.com/golang/mock
- https://github.com/stretchr/testify
- https://github.com/mvdan/gofumpt
- https://github.com/golangci/golangci-lint
- https://github.com/fatih/vim-go