Nineya
Home
Blog
Gin Context.File() use too many memory ?
2025-02-08 03:44:52
511
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
2025-02-08 03:44:49
969
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?
2025-02-08 03:44:45
1309
DescriptionWhy Gin doesn't have something like this in Echo?https://github.com/labstack/echo/blob/ec92fedf21e817d2d52004...
Gin Cannot validate struct even with dive
2025-02-08 03:44:41
1656
I have struct like below:type TextMessage struct { Contacts []struct { Profile struct { Name string...
Gin Is there a place to report security issues?
2025-02-08 03:44:38
434
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
2025-02-08 03:44:36
2294
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
2025-02-08 03:44:33
1300
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
2025-02-08 03:44:29
1914
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
2025-02-08 03:44:27
1154
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
2025-02-08 03:44:24
7875
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
2025-02-08 03:44:21
159
我的 go版本从1.18 升级到1.20.2gin的路由的配置路径发现了异常, 有些处理 是 add-fm 有些add 。 add-fm 全部不能请求了。 为啥会出现这种不兼容的情况 Comment From: putao0525这个地方兼...
Gin Middleware Use behavior undocumented and unintuitive
2025-02-08 03:44:19
3818
Please take a look at the following codepackage mainimport ( "github.com/gin-gonic/gin")func main() { r ...
Gin Binding uuid.UUID using ShouldBind
2025-02-08 03:44:16
4236
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
2025-02-08 03:44:11
2602
I have routes like thisr1 := router.Group("/")r1.Use(SetSiteMiddleware())r1.GET("/posts", PostsHandl...
Gin DataFromReader doesn't accept http.Header as extraHeaders
2025-02-08 03:44:07
731
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
2025-02-08 03:44:03
6537
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
2025-02-08 03:43:59
5090
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
2025-02-08 03:43:55
259
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
2025-02-08 03:43:52
1010
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?
2025-02-08 03:43:49
768
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
上一页
下一页
1
…
204
205
206
207
208
…
2246
.