Update import paths

This commit is contained in:
2025-10-23 19:51:28 +01:00
parent 21ebc9c34b
commit b098915ab9
44 changed files with 113 additions and 111 deletions

View File

@@ -4,11 +4,11 @@ import (
"database/sql"
"net/http"
accountHandlers "synlotto-website/handlers/account"
lotteryDrawHandlers "synlotto-website/handlers/lottery/tickets"
accountHandlers "synlotto-website/internal/handlers/account"
lotteryDrawHandlers "synlotto-website/internal/handlers/lottery/tickets"
"synlotto-website/handlers"
"synlotto-website/middleware"
"synlotto-website/internal/handlers"
"synlotto-website/internal/http/middleware"
)
func SetupAccountRoutes(mux *http.ServeMux, db *sql.DB) {

View File

@@ -4,8 +4,8 @@ import (
"database/sql"
"net/http"
admin "synlotto-website/handlers/admin"
"synlotto-website/middleware"
admin "synlotto-website/internal/handlers/admin"
"synlotto-website/internal/http/middleware"
)
func SetupAdminRoutes(mux *http.ServeMux, db *sql.DB) {

View File

@@ -4,7 +4,7 @@ import (
"database/sql"
"net/http"
"synlotto-website/handlers"
"synlotto-website/internal/handlers"
)
func SetupResultRoutes(mux *http.ServeMux, db *sql.DB) {

View File

@@ -4,8 +4,8 @@ import (
"database/sql"
"net/http"
handlers "synlotto-website/handlers/statistics"
"synlotto-website/middleware"
handlers "synlotto-website/internal/handlers/statistics"
"synlotto-website/internal/http/middleware"
)
func SetupStatisticsRoutes(mux *http.ServeMux, db *sql.DB) {

View File

@@ -4,9 +4,9 @@ import (
"database/sql"
"net/http"
lotterySyndicateHandlers "synlotto-website/handlers/lottery/syndicate"
lotterySyndicateHandlers "synlotto-website/internal/handlers/lottery/syndicate"
"synlotto-website/middleware"
"synlotto-website/internal/http/middleware"
)
func SetupSyndicateRoutes(mux *http.ServeMux, db *sql.DB) {