From e10140e1430c15d8b5ecd2732b2745bc56135f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Tue, 8 Aug 2023 16:10:31 +0200 Subject: [PATCH] v0.0.231 --- ginext/routes.go | 3 ++- goextVersion.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ginext/routes.go b/ginext/routes.go index f5c9af5..90bf072 100644 --- a/ginext/routes.go +++ b/ginext/routes.go @@ -149,11 +149,12 @@ func (w *GinWrapper) NoRoute(handler WHandlerFunc) { if w.bufferBody { handlers = append(handlers, BodyBuffer) } - handlers = append(handlers, Wrap(w, handler)) middlewareNames := langext.ArrMap(handlers, func(v gin.HandlerFunc) string { return nameOfFunction(v) }) handlerName := nameOfFunction(handler) + handlers = append(handlers, Wrap(w, handler)) + w.engine.NoRoute(handlers...) w.routeSpecs = append(w.routeSpecs, ginRouteSpec{ diff --git a/goextVersion.go b/goextVersion.go index 38e7e14..4e57be4 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.230" +const GoextVersion = "0.0.231" -const GoextVersionTimestamp = "2023-08-08T16:09:02+0200" +const GoextVersionTimestamp = "2023-08-08T16:10:31+0200"