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 6 additions and 3 deletions

No files matched your search

+2 -2
View File
@@ -12,13 +12,13 @@ import (
func NoMethod() gin.HandlerFunc { func NoMethod() gin.HandlerFunc {
return func(c *gin.Context) { return func(c *gin.Context) {
c.AbortWithError(http.StatusNotFound, nil) c.AbortWithStatus(http.StatusNotFound)
} }
} }
func NoRoute() gin.HandlerFunc { func NoRoute() gin.HandlerFunc {
return func(c *gin.Context) { return func(c *gin.Context) {
c.AbortWithError(http.StatusNotFound, nil) c.AbortWithStatus(http.StatusNotFound)
} }
} }
+4 -1
View File
@@ -1,3 +1,6 @@
### v1.0.1 ### v1.1.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