-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgolang.sh
More file actions
20 lines (17 loc) · 833 Bytes
/
golang.sh
File metadata and controls
20 lines (17 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -ex
# Downloading golang
[ -z $(which go) ] && brew install go
go version
# install basic tooling
go install -v github.com/uudashr/gopkgs/cmd/gopkgs@v2 && \
go install -v github.com/ramya-rao-a/go-outline@latest && \
go install -v github.com/cweill/gotests/gotests@latest && \
go install -v github.com/fatih/gomodifytags@latest && \
go install -v github.com/josharian/impl@latest && \
go install -v github.com/haya14busa/goplay/cmd/goplay@latest && \
go install -v github.com/go-delve/delve/cmd/dlv@latest && \
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest && \
go install -v golang.org/x/tools/gopls@latest && \
go install -v honnef.co/go/tools/cmd/staticcheck@latest && \
sudo rm -rf $GOPATH/src $GOPATH/pkg $HOME/.cache/go $HOME/.cache/go-build