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 语言 运行不出来 一直报错 希望大神给看一下 #49

Open
cowbay-shengjie opened this issue May 2, 2022 · 9 comments
Labels
question Further information is requested

Comments

@cowbay-shengjie
Copy link

运行不出来 一直报错 希望大神给看看 非常感谢
image

@ahutsunshine
Copy link
Owner

你先把代码pull下,然后运行 make vendor.

@ahutsunshine ahutsunshine added the question Further information is requested label May 2, 2022
@cowbay-shengjie
Copy link
Author

你先把代码pull下,然后运行 make vendor.
大神 没搞定呀 还是报错 麻烦给看看
image

@ahutsunshine
Copy link
Owner

这个明显是没有把依赖包下载下来产生的错误

@cowbay-shengjie
Copy link
Author

这个明显是没有把依赖包下载下来产生的错误

依赖包一直下不下来
image

@cowbay-shengjie
Copy link
Author

这个明显是没有把依赖包下载下来产生的错误

我尽力了 搞不出来

@ahutsunshine
Copy link
Owner

@cowbay-shengjie 暂时参考这个 https://blog.csdn.net/qq_34272964/article/details/117621968, 如果不行,那你稍等会,我在优化code,把运行方式改成直接可运行的已编译好的二进制,这样就无需依赖环境了。

@cowbay-shengjie
Copy link
Author

的已编译好的二进制

好的 非常感谢

@windherd
Copy link

windherd commented May 2, 2022

设置个国内代理就行了,终端执行:
go env -w GOPROXY=https://goproxy.cn,direct

@Bingoda
Copy link

Bingoda commented May 3, 2022

设置个国内代理就行了,终端执行: go env -w GOPROXY=https://goproxy.cn,direct

有用,谢谢

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

No branches or pull requests

4 participants