Compare commits

..

4 Commits

Author SHA1 Message Date
5273ff7600 v0.0.181 2023-07-19 11:26:06 +02:00
caa69c3629 v0.0.180 Super Test 2023-07-19 11:24:11 +02:00
0ff5f0aa28 v0.0.179 TestTest 2023-07-19 11:22:25 +02:00
d5cb1e48ed v0.0.178 2023-07-19 11:20:35 +02:00
3 changed files with 14 additions and 4 deletions

View File

@@ -38,8 +38,18 @@ printf "package goext\n\nconst GoextVersion = \"%s\"\n\nconst GoextVersionTimest
git add --verbose .
echo -n "Insert option commit message: "
read commitMessage
msg="v${next_ver}"
if [[ "$commitMessage" != "" ]]; then
msg="${msg} ${commitMessage}"
fi
if [ $# -gt 0 ]; then
msg="$1"
fi

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.181"
const GoextVersionTimestamp = "2023-07-18T16:08:24+0200"
const GoextVersionTimestamp = "2023-07-19T11:26:02+0200"