diff options
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/basic_auth.go | 2 | ||||
-rw-r--r-- | middleware/logger.go | 2 | ||||
-rw-r--r-- | middleware/recover.go | 2 | ||||
-rw-r--r-- | middleware/request_id.go | 4 |
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" |