-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Use pure-go sqlite lib #35
Comments
This library may be a good candidate: http://modernc.org/sqlite (cgo-free). |
cgo is really annoying |
+inf!! I can't use it on windows. It throws me this error: PS > go get -u gorm.io/driver/sqlite
# github.com/mattn/go-sqlite3
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH% |
Just to clarify some points here:
|
"modernc.org/sqlite" doesn't pass our tests, would consider making the change if there are any other choices. |
aymanbagabas
added a commit
to aymanbagabas/sqlite
that referenced
this issue
Jul 5, 2023
This implements a pure-go alternative driver whenever CGO_ENABLED=0 Related: go-gorm#93 Fixes: go-gorm#35 Fixes: go-gorm#72 Fixes: go-gorm#77 Fixes: go-gorm#160
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature
github.com/mattn/go-sqlite3
this lib using c, cgo is not support CROSS_COMPILEMotivation
The text was updated successfully, but these errors were encountered: