From 33b338938419fc71c577d5d3609eda402b01b500 Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Thu, 25 Jul 2024 01:35:25 -0400 Subject: Change to Sqlite driver that doesn't need CGO github.com/glebarez/sqlite --- internal/database/database.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') diff --git a/internal/database/database.go b/internal/database/database.go index 67818db..7d4681d 100644 --- a/internal/database/database.go +++ b/internal/database/database.go @@ -6,12 +6,12 @@ import ( "time" "gorm.io/driver/postgres" - "gorm.io/driver/sqlite" // Sqlite driver based on CGO + // "gorm.io/driver/sqlite" // Sqlite driver based on CGO "gorm.io/gorm/logger" - // "github.com/glebarez/sqlite" // Pure go SQLite driver, checkout https://github.com/glebarez/sqlite for details "donetick.com/core/config" "donetick.com/core/logging" + "github.com/glebarez/sqlite" // Pure go SQLite driver, checkout https://github.com/glebarez/sqlite for details "gorm.io/gorm" ) -- cgit