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

@@ -2,7 +2,7 @@ package helpers
import (
"database/sql"
"synlotto-website/models"
"synlotto-website/internal/models"
)
func BuildBallsSlice(t models.Ticket) []int {

View File

@@ -4,9 +4,9 @@ import (
"net/http"
"time"
session "synlotto-website/handlers/session"
session "synlotto-website/internal/handlers/session"
"synlotto-website/constants"
"synlotto-website/internal/platform/constants"
"github.com/gorilla/sessions"
)

View File

@@ -3,7 +3,7 @@ package security
import (
"net/http"
httpHelpers "synlotto-website/helpers/http"
httpHelpers "synlotto-website/internal/helpers/http"
)
func GetCurrentUserID(r *http.Request) (int, bool) {

View File

@@ -8,8 +8,8 @@ import (
"time"
"synlotto-website/config"
helpers "synlotto-website/helpers/http"
"synlotto-website/models"
helpers "synlotto-website/internal/helpers/http"
"synlotto-website/internal/models"
"github.com/gorilla/csrf"
)

View File

@@ -6,7 +6,7 @@ import (
"net/http"
"os"
"synlotto-website/models"
"synlotto-website/internal/models"
)
func RenderError(w http.ResponseWriter, r *http.Request, statusCode int) {