Compare commits

..

No commits in common. "2bd4ab9e6e12f368c226070b6cf0b125712c0703" and "b2646e5aa17e392a42b74d72417be8f6fda17c41" have entirely different histories.

2 changed files with 4 additions and 7 deletions

View File

@ -12,13 +12,13 @@ import (
func NoMethod() gin.HandlerFunc {
return func(c *gin.Context) {
c.AbortWithStatus(http.StatusNotFound)
c.AbortWithError(http.StatusNotFound, nil)
}
}
func NoRoute() gin.HandlerFunc {
return func(c *gin.Context) {
c.AbortWithStatus(http.StatusNotFound)
c.AbortWithError(http.StatusNotFound, nil)
}
}

View File

@ -1,6 +1,3 @@
### v1.1.1
### v1.0.1
* Updated api documentation page
* Updated README.md
### v1.1.2
* fixed issue with invalid route or method calls
* Updated README.md