Gin Retrieve handler RouteInfo

When a request hits Gin, it would be great for instrumentation to have access to the original route string that was pass...

Gin panic JSON Render

go version: go version go1.14.1 darwin/amd64gin version (or commit ref): 1.6.3operating system:2020/06/12 14:27:43 http:...

Gin two gin server in one process

In the same process, start two gin server。each instance of a Gin server can have its own thread pool or shared thread p...

Gin Cannot log like gin does, beautifully (

I would love to be able to just log using gin, so I don't have to import anything else.I love it, it is simple, colored,...

Gin new a gin context bug

DescriptionIn cases where we create a context with no engine (e.g. unit tests), it might lead to a nil pointer dereferen...

Gin how to make gin support custom json libs?

i want to use json-iterator lib, because golang stdlib encoding/json speed is slow. Of course. This is my suggestion.Co...

Gin Format time.Time JSON

Descriptioni want JSON response for time.TIme format like yyyy-MM-dd hh:mm:ssHow to reproducepackage mainimport ( &qu...

Gin support custom form-mapping and json-encode/decode

i need a feture to support custom form-mapping and json-mapping like thistype A struct { field form:"field" json:"fi...

Gin Can't bind list of struct pointer in query

DescriptionSorry I'm not familiar with golang, so the description below maybe is not accurate.Can't bind list of struct ...

Gin How to unified, consistent set no-cache for c.JSON?

How to unified, consistent set no-cache for c.JSON?Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post...

Gin Variation of the Unix timestamp issue

Hi,I am running into a variation of https://github.com/gin-gonic/gin/issues/1979 difference in my case is that the times...

Gin Can i use gin as reverse proxy for sing-box ?

DescriptionI have nginx as Reverse Proxy for sing-box (VPN server) with following configurationstream { map $ssl_prer...

Gin does gin context support delete certain query string in Request

for example http://tt.com?x=name I want to remove the x queryString for all incoming requests?does gin support thisthank...

Gin SSE example not working on live

DescriptionSSE example not working on liveI'm working on my localhost, everything is fine, but I'm broadcasting on the l...

Gin improvement: engine configuration for indented json response through JSON(code, obj)

DescriptionAn IndentJSON engine configuration property would make it easier to configure JSON indentation across all req...

Gin Gin validator binding engine

IssueSo I have read the docs and I made my own custom validator to have custom error message formatting instead of the d...

Gin How to use SetFuncMap?

I define some template function, such as unescaped: func unescaped(x string) interface{} { return template.HTML(x) }then...

Gin Make Recovery log JSON

Is there a way to make the recovery middleware log JSON? All of my application logs are formatted in JSON, but when gin ...

Gin Support for alias compatibility in routing tree

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

Gin It possible to use c.Bind(&struct) with sql.NullString?

Comment From: itsjamieIt should work out of the box, however in JSON it would appear as an object. if you don't want tha...
上一页 下一页
.