Gin invalid content type header (received Content-Type: text/plain; charset=utf-8 instead of application/json)

maybe related #633Descriptioninvalid content typeHow to reproducepackage mainimport ( "net/http" "g...

Gin adding id parameter to context.SSEvent

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

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

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

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

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

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?

DescriptionI am wondering is there an option for setting gin to run in single thread?Comment From: xieyuschenDo you mean...

Gin listener

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

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?

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 ??

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

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()

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.

Descriptionpath:/user/:id/action/if requestUrl=="/user//action"; response normal.I think should response 404 or others....

Gin AllowQuerySemicolons

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?

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

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

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

DescriptionThe gin.Context.Redirect function panics when the gin.Context uses httptest.ResponseRecorder as its Writer. A...
上一页 下一页
.