better go

main
hau 2020-08-12 10:39:49 +07:00
parent 593cb99812
commit 1da4c4a3f5
2 changed files with 11 additions and 1 deletions

View File

@ -22,6 +22,12 @@ go mod tidy
go mod vendor
```
Outside modules:
```
GOMODULE11=on go get example.com/foo/bar
```
In world of corporation, we work with private repository, add to `~/.bashrc`, `~/.zshrc`:
```sh

View File

@ -22,8 +22,12 @@ export PATH="$PATH:$GOPATH/bin"
[Thanos Coding Style Guide](https://thanos.io/contributing/coding-style-guide.md/)
## Helpful programs
## Helpful
[goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports?tab=doc)
[GolangCI-Lint](https://github.com/golangci/golangci-lint)
[panicparse](https://github.com/maruel/panicparse)
[gomock](https://github.com/golang/mock)