Gin Wildcard route conflicts with static files

Just found an interesting issue: r.Static("/assets/", p.rootFolder+"/assets") r.GET("/:co...

Gin Example: Stream JSON

For those using Gin, and struggling to get c.Stream or c.Writer.Flush() working, this example will stream JSON data.// p...

Gin Early Hints support?

I am curious if gin does have support for early hints?What have I tried so far?Since Early Hints are replacing HTTP/2 Pu...

Gin Is there a handler will trigger when c.JSON, c.Abort been called

DescriptionI need to close db connection before end of each end point, Is there a handler I can add to trigger when c.JS...

Gin GIN constantly pings 127.0.0.1

Issue - Our go server keeps on Pinging to 127.0.0.1 with a GET request. I have attached the screenshot in the link. This...

Gin c.BindQuery how can bind array query?

gin version (or commit ref): 1.3.0operating system: LinuxDescriptionHow does the function BindQuery bind the array?type ...

Gin Binding for URL Params

Is there a way to validate URL params?e.g. r.GET("/:foo/*bar", myFunc)How can I validate foo and bar?It would ...

Gin Deeply Rooted Static Files Not Loading

I have a gin application in which not all the static files load. Deeply rooted static files do not load. Static file pat...

Gin Bind validation bug with int zero value

The following test should pass, but actually it fails.func TestValidationSuccess(t *testing.T) { type HogeStruct stru...

Gin Json binding doesn't work

DescriptionI tried my own variation + default from readme. Always the same error To be honest i don't now wht to do anym...

Gin Export engine.prepareTrustedCIDRs()

SummaryMany people don't use Run() to start their gin applications! This means TrustedProxies is never parsed, as prepa...

Gin No way to manually render a template on the fly

DescriptionLoadHTMLFiles() is awesome and anything, but it'd be really nice to have an exposed API to manually render te...

Gin if exist a signal be sent when all http server started

in the case "Run multiple service using Gin", if exist a signal be sent when all http server startedfor example g.Go(fun...

Gin Error struct custom ?

Comment From: JellyZeroFor example, echo's HTTPErrorHandler https://github.com/labstack/echo/blob/master/echo.go#L88

Gin Is it possible to test error added by handler function?

DescriptionIn handler function, I write the code c.Error(xxxx).I want to test the function, but r.serveHTTP(w, c.Request...

Gin gin context 当函数返回后 goroutine中context的值可能受到影响

With issues:gin context 当函数返回后 goroutine中context的值可能受到影响Description1、访问http://127.0.0.1:8080/test/test?a=1 2、连续访问http://...

Gin Combine gorilla mux + gin gonic

DescriptionWe have a web server done with gorilla mux and we want to migrate it to gin gonic, but we won't going to do i...

Gin [Discussion] abortIndex is too little?

How to reproducepackage mainimport ( "fmt" "log" "math" "net/http" ...

Gin Does gin support parallel middlewares ?

hi, how to set the middlewares flow like below ?Comment From: eleven26no it does not.Comment From: zzztttkkkconsider wra...

Gin set&get cookie not work

go version go1.12.9 linux/amd64github.com/gin-gonic/gin v1.4.0When i want set cookie, and read cookie, is not work:Code:...
上一页 下一页
.