Compare commits

..

2 Commits

Author SHA1 Message Date
Borna Rajković
2bd4ab9e6e v1.1.2 2025-08-05 19:32:58 +02:00
Borna Rajković
4afc641ecd Fixed exception handling 2025-08-05 19:30:44 +02:00
2 changed files with 7 additions and 4 deletions

View File

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

View File

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