summaryrefslogtreecommitdiff
path: root/storage/wasm.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-22 16:54:49 +0200
committerewy <ewy0@protonmail.com>2026-05-22 16:54:49 +0200
commit007e2de369f9fc26da3237646de14f2af5052ee8 (patch)
treef81557385628fc93f1ef9616b8bc75a304f9d740 /storage/wasm.go
initial commit
Diffstat (limited to 'storage/wasm.go')
-rw-r--r--storage/wasm.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/storage/wasm.go b/storage/wasm.go
new file mode 100644
index 0000000..dd0c5df
--- /dev/null
+++ b/storage/wasm.go
@@ -0,0 +1,10 @@
+//go:build sqlite_wasm
+
+package storage
+
+import (
+ // wasm driver
+ _ "github.com/ncruces/go-sqlite3/driver"
+)
+
+var driver = "sqlite3"