Gin JSON inf value sends 200 response but error in server logs

DescriptionWhen using JSON response gin fails to send error response in case json.Marshal fails to encode data and sends...

Gin GetString method always returns an empty string

When i am trying to get a value from the json map like this:...func SomeFunc(context *gin.Context) { something := con...

Gin time_format tag not work with json tag

I read this example from official docs: https://gin-gonic.com/docs/examples/custom-validators/package mainimport ( &q...

Gin runtime error: makeslice: cap out of range when HandleMethodNotAllowed=true and no request handler registered

DescriptionGin server panics with runtime error: makeslice: cap out of range when HandleMethodNotAllowed is set to true ...

Gin How to perform task after returning response?

Scenario: User submits something, I want to give an instantaneous response "ok received", so that the user can go on his...

Gin Retry Middleware II

DescriptionI was curious about how to retry requests in middleware. I did see #546 but it was inconclusive.The use case...

Gin The protobuf version that this project relies on has security issues and it is recommended to upgrade.

DescriptionWe used gin v1.9.1 in our project and were reported by colleagues in charge of security that our project had ...

Gin Literal colons in URLs

I'm working on a project which uses literal colons in URLs to specify custom methods, as per the Google API Design Guide...

Gin Non-blocking network layer support

Thank you for your great job on gin framework, I do like and learned a lot from it!As we know, the standard library serv...

Gin Why do long requests block each other?

With issues:Use the search tool before opening a new issue.Please provide source code and commit sha if you found a bug....

Gin BindJSON validation failed for a required integer field that has zero value

type Req struct { Field int `json:"field" binding:"required"`}func handler(ctx *gin.Context) { ...

Gin Cannot use (*gin.Context).FileFromFS("index.html", fs) to serve any file named index.html

DescriptionIt's not possible to serve any static file named index.html in a FileSystem.How to reproduce// The project fo...

Gin Can UnmarshalParam support custom slice of string

FeatureSupport UnmarshalParam for custom string slice type in tag form. DescriptionIf we define a custom type of string ...

Gin c.Data and c.DataFromReader overwrite the set header

Descriptionc.Data and c.DataFromReader overwrite the set header.How to reproducepackage mainimport ( "bytes&quot...

Gin With RedirectFixedPath enabled, the request execution panics when a 404 is expected

Hello, The issue #2959 was closed but the bug reported was never solved. It still happens in v1.10.0 and in the master b...

Gin With RedirectFixedPath enabled, the request execution panics when a 404 is expected

DescriptionWhen a request to a path doesn't match any registered patterns and the RedirectFixedPath flag is set to true,...

Gin gin detects DATA RACE with Go1.21, Go1.22

Description==================WARNING: DATA RACEWrite at 0x00c0001ea020 by goroutine 50: github.com/gin-gonic/gin.(*Engi...

Gin Unnecessary engine.With(opts...) call

DescriptionI was looking at the code and saw that in the Default method engine := New() where New method is returning en...

Gin Update of Swagger document

If gin can call redocly( https://redocly.com/docs/ )Replacing gin swagger makes it easier to generate API documentation

Gin Will it be made into a more comprehensive framework later on?

I quite like using gin, but everyone has their own style of directory for their favorite projects. If gin can have more ...
上一页 下一页
.