xiao-gogo golang snip 重试:https://github.com/kamilsk/retry web服务器:https://github.com/gin-gonic/gin go mod 创建环境变量 export GO111MODULE=auto export GOPROXY=https://goproxy.io 初始化 go mod init github.com/githubao/xiao-gogo 导入所有依赖的包 // 使用哪个包就导入哪个更新go.mod go build main.go 下载最近的包到mod文件夹 go mod download 替换到本地的包 replace old => new 其他备忘 unset GOPATH use vgo in goland