aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler/user
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-11 01:51:46 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-11 01:51:46 +0300
commit8f174c37751e17af887c8f783b21077974f90101 (patch)
tree2505fa1f46beae92a1af2f6cfd7e7d40c0f79976 /pkg/handler/user
parentb30d3b26f0d9274b13582b7aa759cae26417d9f9 (diff)
Поправил имя пакетаHEADv0.0.3master
Diffstat (limited to 'pkg/handler/user')
-rw-r--r--pkg/handler/user/errors.go2
-rw-r--r--pkg/handler/user/handler.go2
-rw-r--r--pkg/handler/user/login.go4
-rw-r--r--pkg/handler/user/logout.go2
-rw-r--r--pkg/handler/user/profile.go4
-rw-r--r--pkg/handler/user/register.go4
6 files changed, 9 insertions, 9 deletions
diff --git a/pkg/handler/user/errors.go b/pkg/handler/user/errors.go
index ab8fc4a..875dec5 100644
--- a/pkg/handler/user/errors.go
+++ b/pkg/handler/user/errors.go
@@ -3,7 +3,7 @@ package user
import (
"errors"
- "go.neonxp.ru/framework/pkg/service/user"
+ "neonxp.ru/go/framework/pkg/service/user"
)
var UserErrors = Errors{
diff --git a/pkg/handler/user/handler.go b/pkg/handler/user/handler.go
index 6bc8bff..b23003f 100644
--- a/pkg/handler/user/handler.go
+++ b/pkg/handler/user/handler.go
@@ -2,7 +2,7 @@ package user
import (
"github.com/labstack/echo/v4"
- "go.neonxp.ru/framework/pkg/service/user"
+ "neonxp.ru/go/framework/pkg/service/user"
)
type Handler struct {
diff --git a/pkg/handler/user/login.go b/pkg/handler/user/login.go
index b3fbdbf..fca8465 100644
--- a/pkg/handler/user/login.go
+++ b/pkg/handler/user/login.go
@@ -5,8 +5,8 @@ import (
"github.com/labstack/echo/v4"
- "go.neonxp.ru/framework/pkg/tpl"
- "go.neonxp.ru/framework/pkg/utils"
+ "neonxp.ru/go/framework/pkg/tpl"
+ "neonxp.ru/go/framework/pkg/utils"
)
const oneyear = 86400 * 365
diff --git a/pkg/handler/user/logout.go b/pkg/handler/user/logout.go
index 9b7ea5f..4844ede 100644
--- a/pkg/handler/user/logout.go
+++ b/pkg/handler/user/logout.go
@@ -4,7 +4,7 @@ import (
"net/http"
"github.com/labstack/echo/v4"
- "go.neonxp.ru/framework/pkg/utils"
+ "neonxp.ru/go/framework/pkg/utils"
)
func (*Handler) Logout(c echo.Context) error {
diff --git a/pkg/handler/user/profile.go b/pkg/handler/user/profile.go
index 7181ca7..ab8457b 100644
--- a/pkg/handler/user/profile.go
+++ b/pkg/handler/user/profile.go
@@ -2,8 +2,8 @@ package user
import (
"github.com/labstack/echo/v4"
- "go.neonxp.ru/framework/pkg/tpl"
- "go.neonxp.ru/framework/pkg/utils"
+ "neonxp.ru/go/framework/pkg/tpl"
+ "neonxp.ru/go/framework/pkg/utils"
)
func (*Handler) Profile(c echo.Context) error {
diff --git a/pkg/handler/user/register.go b/pkg/handler/user/register.go
index 2bd810a..40d4265 100644
--- a/pkg/handler/user/register.go
+++ b/pkg/handler/user/register.go
@@ -4,8 +4,8 @@ import (
"net/http"
"github.com/labstack/echo/v4"
- "go.neonxp.ru/framework/pkg/tpl"
- "go.neonxp.ru/framework/pkg/utils"
+ "neonxp.ru/go/framework/pkg/tpl"
+ "neonxp.ru/go/framework/pkg/utils"
)
func (h *Handler) RegisterForm(c echo.Context) error {