xy6321
Results
2
issues of
xy6321
``` package main func main() { _ = a() _ = b() } type t struct { m map[int64]string } func a() (m map[int64]string) { m[1] = "string" return }...
false-negative
needs-triage
Let me simplify the code ``` package main import ( "net/http" "time" "github.com/gin-contrib/timeout" "github.com/gin-gonic/gin" ) func timeoutMiddleware() gin.HandlerFunc { return timeout.New( timeout.WithTimeout(500*time.Millisecond), timeout.WithHandler(func(c *gin.Context) { c.Next() }), timeout.WithResponse(func(c *gin.Context) {...