I'd like to use go-sqlite3. Building it takes a long time (~5 mins), and for me this happens on every snapcraft run.
My code has two relevant imports:
The go-sqlite3 import results in rebuilding it every time, but the import is needed to register the sqlite3 driver with database/sql.
Is there a way to add the pre-compiled go binary to my snap so it is not rebuilt every time, but also keep the required go-sqlite3 import?