- added docker image and compose file

- switched sqlite driver to modernc.org/sqlite
This commit is contained in:
2026-05-23 19:04:26 -05:00
parent b42357f1cf
commit 007e45f06b
5 changed files with 78 additions and 11 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import (
"os"
"path"
_ "github.com/mattn/go-sqlite3"
_ "modernc.org/sqlite"
"mmaschedule-go/event"
@@ -99,7 +99,7 @@ func main() {
}
func InitDb(name string) (*event.Queries, error) {
db, err := sql.Open("sqlite3", name)
db, err := sql.Open("sqlite", name)
if err != nil {
return nil, err
}