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

@@ -5,10 +5,10 @@ import (
"log"
"net/http"
templateHelpers "synlotto-website/helpers/template"
templateHelpers "synlotto-website/internal/helpers/template"
"synlotto-website/middleware"
"synlotto-website/models"
"synlotto-website/internal/http/middleware"
"synlotto-website/internal/models"
)
type AdminLogEntry struct {

View File

@@ -5,12 +5,12 @@ import (
"log"
"net/http"
httpHelpers "synlotto-website/helpers/http"
securityHelpers "synlotto-website/helpers/security"
templateHelpers "synlotto-website/helpers/template"
httpHelpers "synlotto-website/internal/helpers/http"
securityHelpers "synlotto-website/internal/helpers/security"
templateHelpers "synlotto-website/internal/helpers/template"
"synlotto-website/models"
"synlotto-website/storage"
"synlotto-website/internal/models"
"synlotto-website/internal/storage"
)
var (

View File

@@ -5,10 +5,10 @@ import (
"log"
"net/http"
httpHelpers "synlotto-website/helpers/http"
templateHelpers "synlotto-website/helpers/template"
httpHelpers "synlotto-website/internal/helpers/http"
templateHelpers "synlotto-website/internal/helpers/template"
"synlotto-website/models"
"synlotto-website/internal/models"
)
func NewDrawHandler(db *sql.DB) http.HandlerFunc {

View File

@@ -8,10 +8,10 @@ import (
"net/url"
"strconv"
templateHelpers "synlotto-website/helpers/template"
templateHelpers "synlotto-website/internal/helpers/template"
services "synlotto-website/services/tickets"
"synlotto-website/models"
"synlotto-website/internal/models"
)
func AdminTriggersHandler(db *sql.DB) http.HandlerFunc {

View File

@@ -6,10 +6,10 @@ import (
"net/http"
"strconv"
httpHelpers "synlotto-website/helpers/http"
templateHelpers "synlotto-website/helpers/template"
httpHelpers "synlotto-website/internal/helpers/http"
templateHelpers "synlotto-website/internal/helpers/template"
"synlotto-website/models"
"synlotto-website/internal/models"
)
func AddPrizesHandler(db *sql.DB) http.HandlerFunc {