Update import paths
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"database/sql"
|
||||
"net/http"
|
||||
|
||||
"synlotto-website/handlers"
|
||||
"synlotto-website/internal/handlers"
|
||||
)
|
||||
|
||||
func SetupResultRoutes(mux *http.ServeMux, db *sql.DB) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user