Gin cant't successfully redirect with API Redirect()

I found this one before I opened a new issue: https://github.com/gin-gonic/gin/issues/712 But it can't be successfully ...

Gin Redirect from POST ends in 404, even if the endpoint exists

I've made a sample code to explain what's happening:package mainimport ( "net/http" "github.com/gin...

Gin How can i get the url pattern with context

hello When i want code RESTAPI ,I want to get a url pattern so that i can use casbin to control permissions,but i c...

Gin Is there a way to get paramter from url case-insensitive

I have four URLs:http://127.0.0.1/test?username=aaahttp://127.0.0.1/test?Username=aaahttp://127.0.0.1/test?UsernNme=aaah...

Gin Connection reset by peer

DescriptionConnection reset by peer always occurred after benchmark.How to reproduceRefer to the source for wrk benchmar...

Gin support form bind with **Struct

type Detail struct { ID string `json:"id" form:"id" binding:"required"`}var req *Detailif...

Gin todo: convert to go:build directives

as https://github.com/gin-gonic/gin/pull/2664 mentioned, so:[ ] when gin support min go version=go1.17, remove // +build...

Gin c.Param don't parse parameters starting with 'p' and 'l'

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

Gin can gin support the way to write response headder after c.Next()?

I know the response header cant be writen again after it has been writen because of the http limit.So cant write header ...

Gin timestamps escaped differently in go 1.20

DescriptionI've discovered that timestamps are escaped differently in Go 1.20. This may not be a huge issue, but if you ...

Gin Whether websocket reverse proxy is supported?

Whether websocket reverse proxy is supported?Comment From: whatwewantit is not supported by gin. but you can make gin su...

Gin Custom Binding Error Message

After calling c.Bind(&form), is it possible to provide a custom validation error message per field rather than the g...

Gin context duplicated using context.Copy() still points to the original request body

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

Gin strust field json ignore?

How to ignore a field? c.JSONComment From: easonlin404Would you help provide sample code to demonstrate issue?Comment Fr...

Gin Binding validations does not work when request body is Array of objects

Gin's request validation feature is not working when the request body (JSON) represents an array of objectsEx:type item ...

Gin Context.JSON does not work with a list of UDT objects

Hi,I tried to write a REST API that returns a list of objects, If the objects are strings (or any simple built-in objec...

Gin govulncheck vulnerability GO-2023-1571 for golang.org/x/net and golang.org/x/net/http2

DescriptionOn the latest v1.8.2 tag, govulncheck is reporting a vulnerability (GO-2023-1571):Vulnerability #1: GO-2023-1...

Gin what happened? /github.com/gin-gonic/gin/context.go:173 (0x47f51d3) (*Context).Next: c.handlers[c.index](c)

what happened github.com/gin-contrib/expvar v0.0.1 github.com/gin-contrib/gzip v0.0.5 github.com/gin-contrib/pp...

Gin ShouldBindQuery returns a strconv error instead of Validation or UnMarshal error - resulting in loss of error details

DescriptionUnlike the ShouldBindJSON function, ShouldBindQuery returns a strconv error instead of Validation or UnMarsha...

Gin Check/Save http.Response before sending it back ?

The writermem privated member inside gin.Context make it hard to wrapper the default http.ResponseWriter instance. Can I...
上一页 下一页
.