Gin Context.File() use too many memory ?

DescriptionWhen I call the Context.File() function, will it read the file into memory at once and send it to the client?...

Gin How to read request header

Hi Guys,May I know how to read the request header from gin context ? It seems there is only a write header function in t...

Gin Support Two or More Http Methods in One Function?

DescriptionWhy Gin doesn't have something like this in Echo?https://github.com/labstack/echo/blob/ec92fedf21e817d2d52004...

Gin Cannot validate struct even with dive

I have struct like below:type TextMessage struct { Contacts []struct { Profile struct { Name string...

Gin Is there a place to report security issues?

Is there a place to be notified of gin security issues?If submitting to issue is not a problem, I will try to describe t...

Gin write: broken pipe

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

Gin go mod tidy get ambiguous import error

DescriptionWhen go mod tidy get ambiguous import errorHow to reproduce$ go mod init tmt$ go mod tidy......go: found gith...

Gin [Request] Add a streamlined way to add headers in middlewares after response gets written

DescriptionCurrently, there's no good way to add headers in middlewares after the status header (aka status code) gets w...

Gin [feature] option for Server-Timing header in static middleware

I'd like the static middleware to add a Server-Timing header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/...

Gin Cannot Parse time with time_format set from JSON

Problem:I can't parse a time string even when setting the time_format value. Here is my struct,type Class struct { Star...

Gin go版本升级到1.20.2 , handler 出现了 方法名称-fm

我的 go版本从1.18 升级到1.20.2gin的路由的配置路径发现了异常, 有些处理 是 add-fm 有些add 。 add-fm 全部不能请求了。 为啥会出现这种不兼容的情况 Comment From: putao0525这个地方兼...

Gin Middleware Use behavior undocumented and unintuitive

Please take a look at the following codepackage mainimport ( "github.com/gin-gonic/gin")func main() { r ...

Gin Binding uuid.UUID using ShouldBind

DescriptionBinding uuid.UUID using ShouldBind gives error ["45e1f85e-bca5-458d-bd9c-c56edd8f847b"] is not valid value fo...

Gin Gin middleware not respecting the group and runs on all the routes

I have routes like thisr1 := router.Group("/")r1.Use(SetSiteMiddleware())r1.GET("/posts", PostsHandl...

Gin DataFromReader doesn't accept http.Header as extraHeaders

DescriptionI am creating a response based on a http call to an external server.My server response needs to have the same...

Gin gin/context Copy method comment is confuse

With issues:gin/context Copy method comment is confuse. It'll be invalid memory address or nil pointer dereference when ...

Gin How to generate a log every day

How to generate a log every dayComment From: manucorporat@YeFatBoy please, can you elaborate?Comment From: JimmyPetterss...

Gin git tag v1.7.4 is not any branch

We work on yocto and branch name is required to pull the sources along with SRC revision.When using v1.7.4 and git comm...

Gin timeout middleware

I want to develop a timeout middleware, but I' found only can do it by fix context.Status()// Status sets the HTTP respo...

Gin Why not separate data parse and validation?

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