Gin Is there a bug in the ShouldBindUri method?

DescriptionI am testing the official example regarding the ShouldBindUri method provided by Gin, as shown here: https://...

Gin Is there a bug in the ShouldBindUri method?

Description"I am testing the official example regarding the ShouldBindUri method provided by Gin, as shown here: https:/...

Gin Content Negotiation: protobuf MIME type unsupported

DescriptionGin does not support negotiation of the protobuf MIME type. As of 1.9.1, only [json, html, xml, yaml, toml] a...

Gin [typo error] form binding

type VectorizationProductForm struct { Id int `json:"id" from:"id" binding:"required...

Gin Update allowed origins on the fly for public API

Hello,I am looking for a way to update the list of allowed origins after everything is startedrouter := gin.Default()COR...

Gin Gin minimum execution time

Not the issues:Want to know if there is a quick way to get execution time or specific functionRequest fAs of PHP framewo...

Gin Load template file from sub directory

router.LoadHTMLGlob("template/*/*.html")My wish was: load html from template directory and it's subdirecty.for...

Gin ShouldBindQuery with prefix

Is it possible to parse query parameters by prefix?type TimeFramesQuery struct { Create Period `form:",prefix=cr...

Gin ShouldBind does not go in error when content type is not defined

DescriptionThe ShouldBind method does not return an error when the request is missing the 'Content-Type' header and payl...

Gin Using gin.CreateTestContext, and then engine.HandleContext causes panic if params are not filled in

DescriptionPanic in tree.go:446 when calling router.HandleContext on a context that does not have params parsedHow to re...

Gin binding maybe infinite recurse

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

Gin Unit testing middleware with CreateTestContext

DescriptionIm trying to unit test some gin middeware. This middleware accepts a gin.Context and performs an action based...

Gin docker build error with gin

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

Gin BindHeader is case-sensitive, which can lead to bind to failing and violates the HTTP protocol

DescriptionWhen header tags are added to a struct member for gin to use in BindHeader, they will be case-sensitive in t...

Gin How to use different middleware for different routes

Hi, I'm having a problem trying to define different middleware for different routes, please let me know if my understand...

Gin fatal error: concurrent map iteration and map write

My code to invoke gin.Contextfunc HandlerResponse(ctx *gin.Context, response *model.APIResponse) { ctx.JSON(response....

Gin Unit testing redirect results in panic

DescriptionWhen unit testing a HTTP redirect, the result will always be a panic.How to reproducepackage mainimport ( ...

Gin GIN cannot handle CONNECT where rpath is an empty string

Description[HTTP CONNECT] is the most common form of HTTP tunneling is the standard. In this mechanism, the client asks ...

Gin Handle method has bug

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

Gin c.ClientIP()可被 x-forwarded-for请求头伪造

如果用户自己指定了 x-forwarded-for 则 c.ClientIP() 获取的是被伪造的ipComment From: mushsoooup0.0.0.0 is a trusted proxy, thus the header y...
上一页 下一页
.