Refactor.

This commit is contained in:
Nuno Cruces
2023-01-12 05:57:09 +00:00
parent a7ae94161d
commit 1e76a322bc
6 changed files with 150 additions and 93 deletions

14
embed/init.go Normal file
View File

@@ -0,0 +1,14 @@
package embed
import (
_ "embed"
"github.com/ncruces/go-sqlite3"
)
//go:embed sqlite3.wasm
var binary []byte
func init() {
sqlite3.Binary = binary
}