Skip to content

go get 代理 #5

Description

@springfieldking

https://springfieldking.github.io/post/go_get_proxy/

go get 代理

下载加速, 同时解决国内访问官方仓库被屏蔽的问题

使用七牛代理

1
2
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct

使用阿里代理

1
2
go env -w GO111MODULE=on
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions