Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5273ff7600 | |||
caa69c3629 | |||
0ff5f0aa28 | |||
d5cb1e48ed |
@@ -38,8 +38,18 @@ printf "package goext\n\nconst GoextVersion = \"%s\"\n\nconst GoextVersionTimest
|
|||||||
|
|
||||||
git add --verbose .
|
git add --verbose .
|
||||||
|
|
||||||
|
echo -n "Insert option commit message: "
|
||||||
|
|
||||||
|
read commitMessage
|
||||||
|
|
||||||
msg="v${next_ver}"
|
msg="v${next_ver}"
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "$commitMessage" != "" ]]; then
|
||||||
|
msg="${msg} ${commitMessage}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ $# -gt 0 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
msg="$1"
|
msg="$1"
|
||||||
fi
|
fi
|
||||||
|
@@ -68,8 +68,8 @@ func (w *GinRoutesWrapper) Any(relativePath string) *GinRouteBuilder {
|
|||||||
return &GinRouteBuilder{routes: w, methods: anyMethods, relPath: relativePath, handlers: make([]gin.HandlerFunc, 0)}
|
return &GinRouteBuilder{routes: w, methods: anyMethods, relPath: relativePath, handlers: make([]gin.HandlerFunc, 0)}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *GinRouteBuilder) Use(middleware gin.HandlerFunc) *GinRouteBuilder {
|
func (w *GinRouteBuilder) Use(middleware ...gin.HandlerFunc) *GinRouteBuilder {
|
||||||
w.handlers = append(w.handlers, middleware)
|
w.handlers = append(w.handlers, middleware...)
|
||||||
return w
|
return w
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
package goext
|
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"
|
||||||
|
Reference in New Issue
Block a user