21
0
Fork 0
This commit is contained in:
Julian Graf 2023-07-19 11:20:35 +02:00
parent 1c2d3f541f
commit d5cb1e48ed
2 changed files with 4 additions and 4 deletions

View File

@ -68,8 +68,8 @@ func (w *GinRoutesWrapper) Any(relativePath string) *GinRouteBuilder {
return &GinRouteBuilder{routes: w, methods: anyMethods, relPath: relativePath, handlers: make([]gin.HandlerFunc, 0)}
}
func (w *GinRouteBuilder) Use(middleware gin.HandlerFunc) *GinRouteBuilder {
w.handlers = append(w.handlers, middleware)
func (w *GinRouteBuilder) Use(middleware ...gin.HandlerFunc) *GinRouteBuilder {
w.handlers = append(w.handlers, middleware...)
return w
}

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.177"
const GoextVersion = "0.0.178"
const GoextVersionTimestamp = "2023-07-18T16:08:24+0200"
const GoextVersionTimestamp = "2023-07-19T11:20:35+0200"