v0.0.231
This commit is contained in:
parent
e165f0f62f
commit
e10140e143
@ -149,11 +149,12 @@ func (w *GinWrapper) NoRoute(handler WHandlerFunc) {
|
|||||||
if w.bufferBody {
|
if w.bufferBody {
|
||||||
handlers = append(handlers, BodyBuffer)
|
handlers = append(handlers, BodyBuffer)
|
||||||
}
|
}
|
||||||
handlers = append(handlers, Wrap(w, handler))
|
|
||||||
|
|
||||||
middlewareNames := langext.ArrMap(handlers, func(v gin.HandlerFunc) string { return nameOfFunction(v) })
|
middlewareNames := langext.ArrMap(handlers, func(v gin.HandlerFunc) string { return nameOfFunction(v) })
|
||||||
handlerName := nameOfFunction(handler)
|
handlerName := nameOfFunction(handler)
|
||||||
|
|
||||||
|
handlers = append(handlers, Wrap(w, handler))
|
||||||
|
|
||||||
w.engine.NoRoute(handlers...)
|
w.engine.NoRoute(handlers...)
|
||||||
|
|
||||||
w.routeSpecs = append(w.routeSpecs, ginRouteSpec{
|
w.routeSpecs = append(w.routeSpecs, ginRouteSpec{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package goext
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user