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

运行问题 #19

Closed
songjian0270 opened this issue Dec 9, 2019 · 8 comments
Closed

运行问题 #19

songjian0270 opened this issue Dec 9, 2019 · 8 comments

Comments

@songjian0270
Copy link

go build 的时候需要sqlite3吗?

@godcong
Copy link
Collaborator

godcong commented Dec 9, 2019

因为库是支持mysql和sqlite3的所有,编译的时候两个包都要用到.
可以直接使用go mod tidy下载更新所有的包

@songjian0270
Copy link
Author

已经下载 go build的时候还是不行的呢
go build github.com/mattn/go-sqlite3: D:\Program Files\Go\pkg\tool\windows_amd64\cgo.exe: exit status 2

@godcong
Copy link
Collaborator

godcong commented Dec 9, 2019

你没有安装c编译库...
我晚点去掉sqlite3再发一个版本吧...

@songjian0270
Copy link
Author

安装了,好像是mingw的版本32的系统是64的

@songjian0270
Copy link
Author

在线的下不了 只能下载离线的了

@songjian0270
Copy link
Author

大佬數據庫 必須在本地嗎?

@songjian0270
Copy link
Author

已经解决

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