aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/handler')
-rw-r--r--pkg/handler/error.go2
-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
7 files changed, 10 insertions, 10 deletions
diff --git a/pkg/handler/error.go b/pkg/handler/error.go
index eac791d..821a3f3 100644
--- a/pkg/handler/error.go
+++ b/pkg/handler/error.go
@@ -5,7 +5,7 @@ import (
"net/http"
"github.com/labstack/echo/v4"
- "go.neonxp.ru/framework/pkg/tpl"
+ "neonxp.ru/go/framework/pkg/tpl"
)
func ErrorHandler(err error, c echo.Context) {
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 {