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

打包问题 #4

Open
ChenZIDu opened this issue Oct 11, 2023 · 1 comment
Open

打包问题 #4

ChenZIDu opened this issue Oct 11, 2023 · 1 comment

Comments

@ChenZIDu
Copy link

师傅打包的时候有遇到这个问题不:
image

打包命令如下:
set CGO_ENABLED=0
set GOOS=windows
set GOARCH=amd64
go build -o main.exe main.go

@lovechuxin
Copy link
Contributor

看一下环境是windows还是linux,linux的话可以看一下#2
windows环境编译是没问题的,这个报错应该是下载库的时候网络问题,可以挂一下代理试一下

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