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

Possible to pack SQLite file? #72

TangMonk opened this issue Aug 3, 2019 · 1 comment


Copy link

commented Aug 3, 2019

I have a program that read data from local sqlite db, and show data to users, I wanna to pack all assets include sqlite file to one binary file, this program only execute read operation from sqlite, is it possible to pack sqlite file?

@dmitshur dmitshur added the question label Aug 12, 2019


This comment has been minimized.

Copy link

commented Aug 12, 2019

vfsgen can be used to embed arbitrary files, so yes, it's possible to include a sqlite database file.

Note that the http.FileSystem interface implementation that vfsgen produces is a read-only filesystem, so it can't be written to (directly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.