Nineya
Home
Blog
Gin SetCookie() couldn't set dot prefix for domain
2025-02-08 12:18:23
3145
DescriptionI could set a dot-prefix domain at cookie. For example ".a.b.com".It will return "a.b.com". I don't know why ...
Gin Is it possible to know what render was used inside a middleware function?
2025-02-08 12:18:18
6479
DescriptionI am creating a middleware function, and I want to modify the json that is sent back after the handler functi...
Gin GetUint and GetUint64 wrong return
2025-02-08 12:18:14
2201
DescriptionI'm trying to use GetUint64 and GetUint but it returns 0 How to reproducepackage mainimport ( "github...
Gin Multiple websockets connect on same route will use a same handler instance
2025-02-08 12:18:09
876
Hello, I think I met a bug in ginex.While I use ginex with gorilla/websocket, single websocket on the route is OK, howev...
Gin context Value method issue tracking
2025-02-08 12:18:04
3183
problem locating the hasRequestContext function return False:https://github.com/gin-gonic/gin/blob/9c081de9cdd1948f521d4...
Gin How to rewrite response body in middleware?
2025-02-08 12:17:58
5297
I want to rewrite response body in middleware, but I found it is difficult, Beacuse I must rewrite all of the method of...
Gin ctx.Status() does not affect httptest.ResponseRecorder while ctx.JSON() does
2025-02-08 12:17:53
1930
Descriptionctx.Status() does not affect httptest.ResponseRecorder while ctx.JSON() doesHow to reproducepackage mainimpor...
Gin parse .1 in query param form to decimal.Decimal
2025-02-08 12:17:40
3337
DescriptionGin receives HTTP GET call like 127.0.0.1:8000/foo?a=.1, where a is expected to be decimal number. The handli...
Gin Unexpected behaviour with ShouldBindJSON with default value
2025-02-08 12:17:35
2236
go version: 1.12.4gin version (or commit ref): 1.3.0/1.4.0operating system: Debian stretchDescriptionHi all, I'm trying ...
Gin c.SaveUploadedFile permissions
2025-02-08 12:17:30
2761
DescriptionI run into problem when I saving uploaded file to a folder and trying to get it from nginx it gives me permis...
Gin goroutine leak
2025-02-08 12:17:25
9571
With issues: goroutine profile: total 77547687 @ 0x44066e 0x4393d7 0x472605 0x4e5a27 0x4e6d1a 0x4e6d08 0x539305 0x547545...
Gin Improve Documentaion: Lack of Structured Documentation Makes it Difficult for New Developers to Learn Gin
2025-02-08 12:17:13
910
Issue:Unorganized Documentation: The documentation seems scattered across various pages, making it difficult to follow a...
Gin Strange, the router is not registered
2025-02-08 12:17:09
2139
DescriptionThe gin code doesn't work, the router isn't registered and printed, and it doesn't panicHow to reproducepacka...
Gin gin context with tracing not work
2025-02-08 12:17:04
1519
when implementing use otel tracing like thisand apply to router like "router.POST("/v4/*xxxx", gatewayPostHandler, WithT...
Gin How to add a unified response header after the processing function
2025-02-08 12:16:53
3487
I want to add a uniform response header to all the processing functions, but it does not workAs shown in the figure belo...
Gin MustGet sometimes panics even though Set was called in middleware
2025-02-08 12:16:45
3334
Middleware - func middleware() gin.HandlerFunc { return func(c *gin.Context) { //..... ...
Gin use StaticFS('/*png', http.Dir("my_file_system)) to serve all images
2025-02-08 12:16:41
897
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin Provide way to add middleware as last HandlerFunc before the real route itself
2025-02-08 12:16:36
1472
DescriptionCurrently we can add middlewares to gin routes. However, there is no easy way to add middleware "just before"...
Gin reopen "Gin Context implementation breaks context.Context contract #3888"
2025-02-08 12:16:31
5996
this commit did not fix problem,just replace 0 to ContextRequestKey#3897this code can solve this problemComment From: hu...
Gin ShouldBindJson panic with error: Undefined validation function
2025-02-08 12:16:15
1116
DescriptionShouldBindJson panic with error: Undefined validation function 'enabled' on field 'Status'"How to reproducepa...
上一页
下一页
1
…
185
186
187
188
189
…
2246
.