Nineya
Home
Blog
Gin invalid content type header (received Content-Type: text/plain; charset=utf-8 instead of application/json)
2025-02-08 00:41:58
4567
maybe related #633Descriptioninvalid content typeHow to reproducepackage mainimport ( "net/http" "g...
Gin adding id parameter to context.SSEvent
2025-02-08 00:41:52
1018
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin got json.UnmarshalTypeError instead of validator.ValidationErrors
2025-02-08 00:41:47
4300
DescriptionI use ShouldBindJSON for validation and I have a model that has a field with the type float32 name 'salary' w...
Gin Disable debug mode warning for tests
2025-02-08 00:41:41
1574
DescriptionThe official docs recommend testing by setting up a real router, which makes perfect sense.However, this by d...
Gin go get -u github.com/gin-gonic/gin can not install go gin
2025-02-08 00:41:35
615
package gopkg.in/yaml.v2: unrecognized import path "gopkg.in/yaml.v2": https fetch: Get "https://gopkg.in/yaml.v2?go-get...
Gin why not implement context.Context
2025-02-08 00:41:29
345
I think the method Value should return more ``` golangfunc (c *Context) Value(key interface{}) interface{} { if key ...
Gin Confusing Blocks in Groups Documentation Code snippet
2025-02-08 00:41:24
1058
Hi, This is a question or suggestion.The blocks used in this example of grouping routes are quite confusing. v1 := route...
Gin How to run gin in single thread?
2025-02-08 00:41:18
275
DescriptionI am wondering is there an option for setting gin to run in single thread?Comment From: xieyuschenDo you mean...
Gin listener
2025-02-08 00:41:12
2769
I want to know if gin framework provides listener service?E.g,during the startup process of gin, we can initialize mysql...
Gin Redirect to custom route returns 404
2025-02-08 00:41:06
938
DescriptionI have few routes and I want to redirect to another route from the handler of a particular routeSample:func A...
Gin What is the recommended way to serve a React app?
2025-02-08 00:41:00
2615
DescriptionI am trying to serve a React app, and it's mostly working, except that parameter pages aren't loading properl...
Gin How to delay validation until all binding done ??
2025-02-08 00:40:53
556
DescriptionHow to delay validation until all binding done ?? Such as when It run ShouldBindUri, It will return an error ...
Gin c.DefaultPostForm may cause block
2025-02-08 00:40:49
1223
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin Is it ok to set a struct to gin context ussing c.Set()
2025-02-08 00:40:43
918
eg:in my auth mddleware -c.Set("user", user)c.Next()and then in my controller -user := c.Keys["user"...
Gin <Parameters in path> if param.value lenght < 1,gin should response 404.
2025-02-08 00:40:37
2725
Descriptionpath:/user/:id/action/if requestUrl=="/user//action"; response normal.I think should response 404 or others....
Gin AllowQuerySemicolons
2025-02-08 00:40:31
672
With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....
Gin any twitter or gitter for Gin?
2025-02-08 00:40:26
219
Not an issue but don't find the other place to ask this question.Do Gin have any twitter handler or gitter account to ge...
Gin GitHub repository not found at https://github.com/go-yamqlog/yamqlog
2025-02-08 00:40:21
1430
DescriptionWhen I'm building a project, go run . and it prompted me : "../../../go/pkg/mod/github.com/gin-gonic/gin@v1...
Gin New feature! HTTP streaming
2025-02-08 00:40:15
3492
I am experimenting with several new APIs:c.Stream(stepFunction)c.SSEvent(name, message)I expect this will help developer...
Gin Redirection test fail when using httptest.ResponseRecorder
2025-02-08 00:40:08
1313
DescriptionThe gin.Context.Redirect function panics when the gin.Context uses httptest.ResponseRecorder as its Writer. A...
上一页
下一页
1
…
216
217
218
219
220
…
2246
.