Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问 go run main.go 报这个错 怎么处理呀, go小白一个。。。 #14

Closed
hulao6 opened this issue Jan 31, 2021 · 2 comments
Closed

Comments

@hulao6
Copy link

hulao6 commented Jan 31, 2021

请问 go run main.go 报这个错 怎么处理呀, go小白一个。。。

go: github.com/BurntSushi/toml@v0.3.1: Get https://proxy.golang.org/github.com/%21burnt%21sushi/toml/@v/v0.3.1.mod: dial tcp 74.125.203.141:443: connect: connection refused

@zxysilent
Copy link
Owner

需要配置环境变量 go env -w GOPROXY=https://goproxy.cn,direct

@hulao6 hulao6 closed this as completed Feb 7, 2021
@hulao6
Copy link
Author

hulao6 commented Feb 7, 2021

tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants