diff --git a/api/apiHandler.go b/api/apiHandler.go index a69f5cf..573c63a 100644 --- a/api/apiHandler.go +++ b/api/apiHandler.go @@ -1,10 +1,11 @@ package api import ( - "memberDB/handlers" - "memberDB/models" "net/http" + "gitea.tecamino.com/paadi/memberDB/handlers" + "gitea.tecamino.com/paadi/memberDB/models" + "github.com/gin-gonic/gin" ) diff --git a/api/membersHandler.go b/api/membersHandler.go index d2a36e6..25fcaf3 100644 --- a/api/membersHandler.go +++ b/api/membersHandler.go @@ -4,10 +4,11 @@ import ( "encoding/csv" "fmt" "io" - "memberDB/models" "net/http" "strconv" + "gitea.tecamino.com/paadi/memberDB/models" + "github.com/gin-gonic/gin" "github.com/saintfish/chardet" "golang.org/x/text/encoding/charmap" diff --git a/go.mod b/go.mod index 7e2f556..9b678a3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module memberDB +module gitea.tecamino.com/paadi/memberDB go 1.24.5 diff --git a/handlers/database.go b/handlers/database.go index 42c5bcb..a4cf81f 100644 --- a/handlers/database.go +++ b/handlers/database.go @@ -8,14 +8,15 @@ import ( "encoding/json" "errors" "fmt" - "memberDB/crypto" - "memberDB/models" - "memberDB/utils" "os" "path/filepath" "strings" "time" + "gitea.tecamino.com/paadi/memberDB/crypto" + "gitea.tecamino.com/paadi/memberDB/models" + "gitea.tecamino.com/paadi/memberDB/utils" + _ "modernc.org/sqlite" ) diff --git a/main.go b/main.go index ff73aae..654ef3c 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,8 @@ package main import ( "flag" "log" - "memberDB/api" + + "gitea.tecamino.com/paadi/memberDB/api" ) func main() {