summaryrefslogtreecommitdiff
path: root/middleware
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-11 01:52:13 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-11 01:52:13 +0300
commit7e304bcd9ec014c628663b2ca6e9a610cb7a27e2 (patch)
tree3a1d09fc184131b2eef9b7dccc50dc5d734e55f8 /middleware
parenta5db15c571e786ed6c7dbd47e515c4ec368020c8 (diff)
Поправил имя пакетаHEADv0.0.4master
Diffstat (limited to 'middleware')
-rw-r--r--middleware/basic_auth.go2
-rw-r--r--middleware/logger.go2
-rw-r--r--middleware/recover.go2
-rw-r--r--middleware/request_id.go4
4 files changed, 5 insertions, 5 deletions
diff --git a/middleware/basic_auth.go b/middleware/basic_auth.go
index 847ee79..fe2b254 100644
--- a/middleware/basic_auth.go
+++ b/middleware/basic_auth.go
@@ -5,7 +5,7 @@ import (
"net/http"
"strings"
- "go.neonxp.ru/mux"
+ "neonxp.ru/go/mux"
)
const basicAuthScheme = "Basic"
diff --git a/middleware/logger.go b/middleware/logger.go
index 80117da..4af031a 100644
--- a/middleware/logger.go
+++ b/middleware/logger.go
@@ -5,7 +5,7 @@ import (
"net/http"
"time"
- "go.neonxp.ru/mux"
+ "neonxp.ru/go/mux"
)
type wrappedResponse struct {
diff --git a/middleware/recover.go b/middleware/recover.go
index b34d582..ac4f893 100644
--- a/middleware/recover.go
+++ b/middleware/recover.go
@@ -4,7 +4,7 @@ import (
"log/slog"
"net/http"
- "go.neonxp.ru/mux"
+ "neonxp.ru/go/mux"
)
func Recover(logger *slog.Logger) mux.Middleware {
diff --git a/middleware/request_id.go b/middleware/request_id.go
index feb5afa..9a49239 100644
--- a/middleware/request_id.go
+++ b/middleware/request_id.go
@@ -4,8 +4,8 @@ import (
"context"
"net/http"
- "go.neonxp.ru/mux/ctxlib"
- "go.neonxp.ru/objectid"
+ "neonxp.ru/go/mux/ctxlib"
+ "neonxp.ru/go/objectid"
)
const RequestIDHeader string = "X-Request-ID"