Nineya
Home
Blog
Gin Inconsistent Middleware Application Based on Route Registration Order
2025-02-08 12:21:44
4697
With issues:Inconsistent Middleware Application Based on Route Registration OrderDescriptionQuestion 1: Method 1 and Met...
Gin Middleware doesn't apply to Redirect
2025-02-08 12:21:40
4120
Here's sample code:package mainimport ( "net/http" "github.com/gin-gonic/gin")//CORSMiddleware...
Gin Is there a to set a custom JSON serializer/deserializer?
2025-02-08 12:21:35
2465
Is there a way to set a custom JSON serializer?Sometimes, I need to communicate with other services, especially legacy o...
Gin Need c.JSON() response like behaviour for c.SSEvent() response for supporting first party clients like OpenAI SDK
2025-02-08 12:21:30
1697
DescriptionSSE sends response only in Event struct which follows Message and Data format. Need a Event format that sends...
Gin Why can't I receive the ctx.Done() signal in ctx.stream when closing the client connection when using SSE long connection?
2025-02-08 12:21:23
1999
With issues:Why can't I receive the ctx.Done() signal in ctx.stream when closing the client connection when using SSE lo...
Gin gin and gorilla/websocket
2025-02-08 12:21:18
1909
Hi, I made a few changes to this code to make it work with gin-gonic, do you know what's going on?https://stackoverflow....
Gin PureJSON still escapes output
2025-02-08 12:21:13
1530
go version:go1.12.6 gin version (or commit ref):1.4.0 operating system:Mac + Linux DescriptionTrying to use PureJSON as ...
Gin Changing the Render interface to accept a *http.Request
2025-02-08 12:21:10
1311
The current Render interface accepts only a http.ResponseWriter:type Render interface { Render(http.ResponseWriter) e...
Gin AppEngine/Context Usage
2025-02-08 12:21:06
1858
I read the few posted issues regarding the use of context.Context with *gin.Context. Maybe I'm missing something, but i...
Gin can I set up bindJSON as a standalone validation middleware?
2025-02-08 12:21:01
2170
I see that we can use c.bindJSON() to attach incoming request bodies to predefined structs. This method also validates t...
Gin Socket file that gin listened are not removed when stopping gin process
2025-02-08 12:20:57
2535
DescriptionWhen listen to unix socket, socket file are not removed when stopping gin process (use Ctrl + C). The next ti...
Gin [Feature]: ShouldBindJSON return EOF when the request body is an empty string.
2025-02-08 12:20:53
973
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin Custom JSON binding or middleware ?
2025-02-08 12:20:48
2165
I'm looking for a way to use https://github.com/google/jsonapi as a JSON (un)serializer. To be able to have custom bindi...
Gin Getting the correct field name on bind validation errors
2025-02-08 12:20:43
4447
DescriptionWhen gettig an error back from ShouldBind* methods, im looking for a way to return to the user the correct fi...
Gin How to bind to a struct with json and header struct tags both ?
2025-02-08 12:20:39
8783
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin Why we should set the gin.Mode?
2025-02-08 12:20:32
1151
Hello!I have some question about the Mode of gin.I can't understand the differ between three ginModes,such as "release",...
Gin Unable to install gin on go v.1.19.1
2025-02-08 12:20:27
1941
DescriptionUnable to install gin on go v.1.19.1How to reproduce$ go get -u github.com/gin-gonic/gin'go get' is no longer...
Gin router.Static can not run in https mode
2025-02-08 12:20:23
1078
router.Static can not run in https mode ,errors:http: TLS handshake error from [::1]:14521: remote error: tls: unknown c...
Gin Controlling the TempFile Directory via Context
2025-02-08 12:20:18
1648
multipart.Reader has a field tempDir that is private:// Reader is an iterator over parts in a MIME multipart body.// Rea...
Gin IRoutes.Use() behaves erratic when used after POST/GET/...
2025-02-08 12:20:14
1374
DescriptionWhen creating a IRoute with middleware like thisroute := ginEngine.GET("/test", func(ctx *gin.Conte...
上一页
下一页
1
…
183
184
185
186
187
…
2246
.