diff options
| author | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-21 11:23:42 -0400 |
|---|---|---|
| committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2024-03-21 11:23:42 -0400 |
| commit | fd6f6f169f9ff9a1247228fb34dc9654a9584915 (patch) | |
| tree | 4241792d4b41bc025807cab001a18a2d355e7ea3 /api/internal | |
| parent | 655aeaac60c7dec09276f469904752c7dc58c8c5 (diff) | |
fix bugs, redo layout, reorg.
Diffstat (limited to 'api/internal')
| -rw-r--r-- | api/internal/controllers/auth.go | 2 | ||||
| -rw-r--r-- | api/internal/database/database.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/internal/controllers/auth.go b/api/internal/controllers/auth.go index b06c6ef..2599550 100644 --- a/api/internal/controllers/auth.go +++ b/api/internal/controllers/auth.go | |||
| @@ -12,7 +12,7 @@ import ( | |||
| 12 | 12 | ||
| 13 | "water/api/internal/database" | 13 | "water/api/internal/database" |
| 14 | 14 | ||
| 15 | _ "github.com/mattn/go-sqlite3" | 15 | _ "github.com/glebarez/go-sqlite" |
| 16 | "golang.org/x/crypto/bcrypt" | 16 | "golang.org/x/crypto/bcrypt" |
| 17 | ) | 17 | ) |
| 18 | 18 | ||
diff --git a/api/internal/database/database.go b/api/internal/database/database.go index 1bfb789..8a54e4a 100644 --- a/api/internal/database/database.go +++ b/api/internal/database/database.go | |||
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | "path/filepath" | 6 | "path/filepath" |
| 7 | "water/api/internal/config" | 7 | "water/api/internal/config" |
| 8 | 8 | ||
| 9 | _ "github.com/mattn/go-sqlite3" | 9 | _ "github.com/glebarez/go-sqlite" |
| 10 | ) | 10 | ) |
| 11 | 11 | ||
| 12 | func EstablishDBConnection() (*sql.DB, error) { | 12 | func EstablishDBConnection() (*sql.DB, error) { |
