Gin is a web framework written in Golang. It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
appleboy on master
chore(deps): add go1.20 version (compare)
+0.00%
+0.00%
+0.00%
+0.00%
+0.00%
dependabot[bot] on go_modules
thinkerou on master
chore(deps): bump github.com/ug… (compare)
.GET("/ui")
only matches the exact path /ui
s.Engine.StaticFS
functionality. This is working great for the index page, but when the SPA navigates to a route that should be controlled by the SPA Gin is returning a 404. Is there any way to tell it to serve the same index.html for everything under the route that's not in the filesystem?
Hi! I'd like to use mutliple auth middlewares, so that at least one must pass for a gin.RouterGroup
Currently I use:
// adapter "github.com/gwatts/gin-adapter"
// ...
private.Use(adapter.Wrap(jwtMiddleware.CheckJWT))
and I'd like to add one more JWT verifier, but for a different issuer.
Maybe someone can point me in the right direction? :)