|
|
hace 1 año | |
|---|---|---|
| envitem | hace 1 año | |
| httplib | hace 2 años | |
| .gitignore | hace 2 años | |
| go.mod | hace 1 año | |
| go.sum | hace 2 años | |
| readme.md | hace 1 año |
当前版本: v1.0.0
更新版本:
git tag v1.x.x
git push --tag
- 查看当前go的库环境: go env
- GOPRIVATE中增加私有仓库地址:
export GOPRIVATE=${GOPRIVATE},gtlib.local
export GONOPROXY=${GONOPROXY},gtlib.local # 会自动设置
export GONOSUMDB=${GONOSUMDB},gtlib.local # 会自动设置
- 增加本地hostname记录
- 设置git config地址替换:
git config --global url."http://120.55.44.4:10080".insteadOf "http://gtlib.local"