diff --git a/ginext/engine.go b/ginext/engine.go index 291b508..5104a8e 100644 --- a/ginext/engine.go +++ b/ginext/engine.go @@ -2,6 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" + "net/http" "time" ) @@ -45,3 +46,7 @@ func NewEngine(allowCors bool, ginDebug bool, returnRawErrors bool, timeout time return wrapper } + +func (w *GinWrapper) ServeHTTP(writer http.ResponseWriter, request *http.Request) { + w.engine.ServeHTTP(writer, request) +} diff --git a/goextVersion.go b/goextVersion.go index 6ce4156..ef42726 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.175" +const GoextVersion = "0.0.176" -const GoextVersionTimestamp = "2023-07-18T15:59:12+0200" +const GoextVersionTimestamp = "2023-07-18T16:01:34+0200"