Skip to content

Instantly share code, notes, and snippets.

View shenhequnying's full-sized avatar

jacobjiang shenhequnying

View GitHub Profile
@crazygit
crazygit / install_go_tools.sh
Last active July 2, 2021 03:16
免翻墙安装Go tools
#!/usr/bin/env bash
# 免翻墙安装Go tools
branch="release-branch.go1.4"
mkdir -p $GOPATH/src/golang.org/x
git clone -b $branch [email protected]:golang/tools.git $GOPATH/src/golang.org/x/tools
git clone [email protected]:golang/net.git $GOPATH/src/golang.org/x/net
cd $GOPATH
go install golang.org/x/tools/cmd/goimports