gin icon indicating copy to clipboard operation
gin copied to clipboard

Gin is a HTTP web framework written in Go (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.

Results 456 gin issues
Sort by recently updated
recently updated
newest added

#3235 Reference Changes: - [#e837e1c](https://github.com/gin-gonic/gin/commit/e837e1cd1850559d91d921b712bc7b0c8f78cf7e) changed query mapping function - [#c17e9f1](https://github.com/gin-gonic/gin/commit/c17e9f1a1554d4a32d44131cf6f949606814ffbe) tests

https://github.com/gin-gonic/gin/blob/b57163a0e4339d7feb393ff430a454f4e448cf9c/binding/query.go#L15-L21 `mapForm` searches `form` struct tag, not `query` Fixed version: ```go func (q queryBinding) Bind(req *http.Request, obj any) error { values := req.URL.Query() if err := mapFormByTag(obj, values, q.Name() );...

## Description I got this error when using a client app to get data from a gin server, and I am not sure what causing it: ```cmd 2022/07/08 13:54:35 [Recovery]...

This new `StringHTML()` method will allow users to render HTML without the need of an actual file on disk. Example: ```go r.GET("/saludos", func(c *gin.Context) { c.StringHTML(200, "Hola amigo!") }) ```...

feature

It would be nice to have a place to discuss gin. Why not enable GitHub discussions? I personally like github discussions because this way the discussion is threaded. I tend...

Most golang projects use the `golang` topic: https://github.com/topics/golang It would be nice to see gin there, too.

## Description When a request to a path doesn't match any registered patterns and the `RedirectFixedPath` flag is set to true, the request execution panics (invalid node type). This is...

bug

## Description RedirectTrailingSlash not working if there are more than two child route. ## How to reproduce ``` package main import ( "github.com/gin-gonic/gin" ) func main() { g := gin.New()...

bug

## Description RedirectFixedPath is redirecting trailing slashes regardless of the RedirectTrailingSlash setting. In [gin.go](https://github.com/gin-gonic/gin/blob/master/gin.go#L73) there is a comment that the RedirectTrailingSlash is independent, but then the comment does not indicate...

bug

- With issues: - Use the search tool before opening a new issue. - Please provide source code and commit sha if you found a bug. - Review existing issues...