diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 08:58:38 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 08:58:38 -0800 |
| commit | e3c379d069ffa9661561d25cdbf2f5894a2f8ee8 (patch) | |
| tree | 24d0e9f5610dd9c8f873c5b78e6bc1c88d32840a /models/db.go | |
| parent | 4b06155fbde91a1bef6361ef36efb28789861928 (diff) | |
| download | neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.tar.gz neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.tar.bz2 neko-e3c379d069ffa9661561d25cdbf2f5894a2f8ee8.zip | |
Refactor: project structure, implement dependency injection, and align v2 UI with v1
Diffstat (limited to 'models/db.go')
| -rw-r--r-- | models/db.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/models/db.go b/models/db.go index d5bc7dc..67f7751 100644 --- a/models/db.go +++ b/models/db.go @@ -4,11 +4,12 @@ Package neko/models implements behavior for the entities necessary for the subsc package models import ( - "adammathes.com/neko/config" - "adammathes.com/neko/vlog" "database/sql" - _ "github.com/mattn/go-sqlite3" "log" + + "adammathes.com/neko/config" + "adammathes.com/neko/internal/vlog" + _ "github.com/mattn/go-sqlite3" ) var DB *sql.DB |
