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.
dependabot[bot] on github_actions
chore(deps): bump golangci/gola… (compare)
r.Use(static.Serve("/", static.LocalFile("../frontend/dist", false)))
Hello everyone,
I'm getting context cancelled error inside my go routine below is my code.
func (service maintenanceHandler) CardHandler(ctx *gin.Context) {
var requestBody models.DefaultTicket
//perform some action.
go doSomethingElse(requestBody.Priority,ctx)
}
I also tried with
func (service maintenanceHandler) CardHandler(ctx *gin.Context) {
var requestBody models.DefaultTicket
//perform some action.
go doSomethingElse(requestBody.Priority,ctx.Copy())
}
In both the case I'm getting CONTEXT CANCELLED inside go routine method, can anyone please help me in this?
req.code != msg.Code