aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-25 01:35:25 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-25 01:35:25 -0400
commit33b338938419fc71c577d5d3609eda402b01b500 (patch)
treeffc57fadf8f4613eea57ab546545753531377014 /internal
parenta5d07a545a3aaf928013488b20c55f1541b25fca (diff)
downloaddonetick-33b338938419fc71c577d5d3609eda402b01b500.tar.gz
donetick-33b338938419fc71c577d5d3609eda402b01b500.tar.bz2
donetick-33b338938419fc71c577d5d3609eda402b01b500.zip
Change to Sqlite driver that doesn't need CGO github.com/glebarez/sqlite
Diffstat (limited to 'internal')
-rw-r--r--internal/database/database.go4
1 files changed, 2 insertions, 2 deletions
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"
)