Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 09:56
    hopehook commented #3344
  • 09:51
    codecov[bot] commented #3344
  • 09:51
    Coverage (#3344) +0.35%
  • 09:50
    codecov[bot] commented #3344
  • 09:50
    Coverage (#3344) +0.35%
  • 09:47
    codecov[bot] commented #3344
  • 09:47
    Coverage (#3344) +0.35%
  • 09:46
    codecov[bot] commented #3344
  • 09:46
    Coverage (#3344) +0.26%
  • 09:46
    codecov[bot] commented #3344
  • 09:46
    Coverage (#3344) +0.26%
  • 09:43
    codecov[bot] commented #3344
  • 09:43
    Coverage (#3344) +0.00%
  • 09:42
    hopehook synchronize #3344
  • 09:18
    enarha commented #2010
  • 09:06
    enarha commented #2010
  • 08:49
    blight19 opened #3493
  • 01:12

    appleboy on master

    chore(deps): add go1.20 version (compare)

  • 00:23
    Coverage (master) +0.00%
  • 00:22
    Coverage (master) +0.00%
David Martorana
If I do a BeamToNamed and in the construction of that, stack 4-5 BeamPages, if I do a pop, it removes all the pages... where I'd want a back/pop action to only remove the top-most page
is there a way to do that?
Tiger Wang
Hello - I'd like to route any path starting with /ui to a specific handler, such as /ui/a.ext, /ui/a/a.ext, /ui/a/b/c/... or any arbitrary path. Is this supported? Thanks.
It looke like .GET("/ui") only matches the exact path /ui
kevin olson
is it at all possible to render a template in gin similar to c.HTML but get the resulted html in a string instead of outputting it ?
Tymscar ⚙️
Hi there! I am quite new to backend development and I am working on a project using Gin, and I am handling the auth with auth0. To be honest, I am a bit confused when it comes to how gin manages sessions
Basically they use "github.com/gin-contrib/sessions/cookie", but when I check on my chrome browser I dont see any session id or anything saved as a cookie
the only way I am logged in, is that I have a cookie set on the auth0 website
Now that would make me think this is a serverside cookie, but the issue with that is, theres no way for my backend to know who I am without reading the cookies from my auth0 login on their website
Harry Porter-Mills
Hi, I'm using Gin to build a backend API, and I'm trying to serve a JS SPA frontend using embedded files and the 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?
ViewEngine execute template error: write tcp> wsasend: An established connection wa
s aborted by the software in your host machine.
what would you recommend as an authentication middleware for Gin-based API?
Jenda Mudron
has anybody done any graphql with gqlgen using Gin and getting subscriptions working?
hi . is there a method named CORS of gin.Context?
Hi all. I'm new to Go, so don't judge too harshly. I wanted to know if it is possible to reload templates in Gin? I have an admin application that edits templates and a client application that works with these templates.
hi guys
all rigth
It's so quiet here
Hey folks
Hey everyone, how could I commit a fix?

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"
// ...

and I'd like to add one more JWT verifier, but for a different issuer.
Maybe someone can point me in the right direction? :)

1 reply
nishant gupta
Hi All,
I am new to Gin and wanted to know how can we modify the response from an handler using middleware. I tried following this https://github.com/gin-gonic/gin/issues/1363#issuecomment-577722498 but in my use case instead of printing it in the log, I want to modify (overwrite) the response with the updated content and then sent it to client(browser/cli). Any help will be appreciated
Davron Xolmatov
Hi everyone! I am using casbin RBAC role management with gin gonic router. When I use CASBIN in middleware, when I send requests to non-existent endpoints, I get a response with invalid token 401 code. My question is how to return 404 response to missing non-existent endpoints
Yinebeb Tariku
hello guys, endat nachhu -ET?
how can i do SSE ? i want to send data after some time to update it