Gin custom time.Time type can not use ShoudBindQuery get a value ,error : invalid character '-' after top-level value

Descriptionconst Layout = "2006-01-02 15:04:05" // datetime// CTime china time/date// format Layouttyp...

Gin LogFormatterParams.Body reading failed

Using LogFormatterParams.Request.Body to read c fails, using ctx.Request.Body in *gin.Context works fineComment From: Ji...

Gin Bind should support default values

Bind() is great, but what do you guys think if it supports default values when a param is not specified? Something like ...

Gin $ go run example.go

![Screenshot_٢٠٢٤٠٩١٧-٢٠١٥٤٠](https://github.com/user-attachments/assets/b67fa28e-d369With issues:Use the search tool be...

Gin Context Copy does not detach request.context

DescriptionIt seems like we can use context.Copy() to detach gin context from the request's scope.Or at least that is wh...

Gin Gin and GraphQL.

I'm building a new project in Golang world and I wanna try this amazing framework. What do you think about GraphQL?Is it...

Gin [Bug] EOF when using ShouldBindJSON

DescriptionWhen I use ctx.ShouldBindJSON(&body), it quietly close request without any response. Other requests with ...

Gin Automatically generate documents

Handwriting documents can be troublesome, but existing tools require handwriting for each API, which is repetitive work/...

Gin Expose an interface to reload TLS cert

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

Gin Gin is rendering the wrong template

Background: I'm learning Go, and using gin. I have decades of coding experience.Gin is rendering the wrong template file...

Gin Unable to use Number validator

Hi,It's possible I just don't understand how to use the validations correctly, but I am trying to bind this form object:...

Gin About bind parse

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

Gin grouping routes and middleware not working

I am trying to add this middleware func CORS () gin.HandlerFunc { return func(context *gin.Context) { context....

Gin To everyone who's new here

To everyone who's new here:If you use RESTful-Style API, router of gin will be a TROUBLEMAKER!20516811362005The root of...

Gin Interrupt-drop-cancel request by user

Any way handle when user Interrupt-drop-cancel request ?Only what we have its context canceledMb add for this context.Wi...

Gin bind to string in post body

So, my post request looks something like this:fetch('/endpoint', {method: "POST", body: "my string"}...

Gin How to apply default value if empty value provided by client during model binding?

Description(Note I am not reporting a bug here, but rather asking a question)I have a struct with a form tag specifying ...

Gin Different 404 handler for different group

DescriptionI have an api group, and I want it to have a different 404 handler than the main group.I want to do something...

Gin RecoveryWithWriter takes mulitple RecoveryFuncs but only applies the first

DescriptionRecoveryWithWritter has signature func(w io.Writer, recovery ...gin.RecoveryFunc) but only applies the first ...

Gin Bind JSON and URI

DescriptionI'm trying to bind JSON and a URI in one request but havn't found out how to yet. Here's my struct:type Reset...
上一页 下一页
.