Update import paths
This commit is contained in:
@@ -2,7 +2,7 @@ package helpers
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"synlotto-website/models"
|
||||
"synlotto-website/internal/models"
|
||||
)
|
||||
|
||||
func BuildBallsSlice(t models.Ticket) []int {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user