-
Notifications
You must be signed in to change notification settings - Fork 1
Review other potential replacements for mattn/go-sqlite3 package #18
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
Comments
|
FWIW: It takes about 10 minutes to build a new release using the ubuntu@ubuntu-1804-virtual-machine:~/Desktop/mysql2sqlite$ time make docker
Removing object files and cached files ...
Removing any existing release assets
Building (static) release assets for windows x86 ...
Building mysql2sqlite 386 binaries
Generating mysql2sqlite x86 checksum files
Building check_mysql2sqlite 386 binaries
Generating check_mysql2sqlite x86 checksum files
Completed (static) release assets build tasks for windows x86
Building (static) release assets for linux x86 ...
Building mysql2sqlite 386 binaries
Generating mysql2sqlite checksum files
Building check_mysql2sqlite 386 binaries
Generating check_mysql2sqlite checksum files
Completed (static) release assets build tasks for linux x86
Building (static) release assets for windows x64 ...
Building mysql2sqlite amd64 binaries
Generating mysql2sqlite checksum files
Building check_mysql2sqlite amd64 binaries
Generating check_mysql2sqlite checksum files
Completed (static) release assets build tasks for windows x64
Building (static) release assets for linux x64 ...
Building mysql2sqlite amd64 binaries
Generating mysql2sqlite checksum files
Building check_mysql2sqlite amd64 binaries
Generating check_mysql2sqlite checksum files
Completed (static) release assets build tasks for linux x64
Completed all cross-platform builds via Docker containers ...
real 9m58.547s
user 0m0.157s
sys 0m0.224s |
The docs indicate that Windows is not yet supported. |
From the docs:
Sure enough, the API doesn't (appear to) match up, so I'd need to rework the current codebase appropriately. |
Looks like official Windows support was added in v1.14.0 (2021-11-13). |
https://github.com/zombiezen/go-sqlite recently hit 1.0 status. From the README:
|
Potential candidates:
Why?
The
mattn/go-sqlite3
package seems to work well thus far, but it requiresCGO
for building and some Go developers like to avoidCGO
where they can. I'm still new enough and have ready access to aCGO
-compatible build environment that it's not an issue for me, but it's probably still worth exploring to see what benefits these other packages might provide.The text was updated successfully, but these errors were encountered: