Compare commits
No commits in common. "2bd4ab9e6e12f368c226070b6cf0b125712c0703" and "b2646e5aa17e392a42b74d72417be8f6fda17c41" have entirely different histories.
2bd4ab9e6e
...
b2646e5aa1
@ -12,13 +12,13 @@ import (
|
|||||||
|
|
||||||
func NoMethod() gin.HandlerFunc {
|
func NoMethod() gin.HandlerFunc {
|
||||||
return func(c *gin.Context) {
|
return func(c *gin.Context) {
|
||||||
c.AbortWithStatus(http.StatusNotFound)
|
c.AbortWithError(http.StatusNotFound, nil)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func NoRoute() gin.HandlerFunc {
|
func NoRoute() gin.HandlerFunc {
|
||||||
return func(c *gin.Context) {
|
return func(c *gin.Context) {
|
||||||
c.AbortWithStatus(http.StatusNotFound)
|
c.AbortWithError(http.StatusNotFound, nil)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
### v1.1.1
|
### v1.0.1
|
||||||
* Updated api documentation page
|
* Updated api documentation page
|
||||||
* Updated README.md
|
* Updated README.md
|
||||||
|
|
||||||
### v1.1.2
|
|
||||||
* fixed issue with invalid route or method calls
|
|
Loading…
x
Reference in New Issue
Block a user