Gin SetCookie() couldn't set dot prefix for domain

DescriptionI could set a dot-prefix domain at cookie. For example ".a.b.com".It will return "a.b.com". I don't know why ...

Gin Is it possible to know what render was used inside a middleware function?

DescriptionI am creating a middleware function, and I want to modify the json that is sent back after the handler functi...

Gin GetUint and GetUint64 wrong return

DescriptionI'm trying to use GetUint64 and GetUint but it returns 0 How to reproducepackage mainimport ( "github...

Gin Multiple websockets connect on same route will use a same handler instance

Hello, I think I met a bug in ginex.While I use ginex with gorilla/websocket, single websocket on the route is OK, howev...

Gin context Value method issue tracking

problem locating the hasRequestContext function return False:https://github.com/gin-gonic/gin/blob/9c081de9cdd1948f521d4...

Gin How to rewrite response body in middleware?

I want to rewrite response body in middleware, but I found it is difficult, Beacuse I must rewrite all of the method of...

Gin ctx.Status() does not affect httptest.ResponseRecorder while ctx.JSON() does

Descriptionctx.Status() does not affect httptest.ResponseRecorder while ctx.JSON() doesHow to reproducepackage mainimpor...

Gin parse .1 in query param form to decimal.Decimal

DescriptionGin receives HTTP GET call like 127.0.0.1:8000/foo?a=.1, where a is expected to be decimal number. The handli...

Gin Unexpected behaviour with ShouldBindJSON with default value

go version: 1.12.4gin version (or commit ref): 1.3.0/1.4.0operating system: Debian stretchDescriptionHi all, I'm trying ...

Gin c.SaveUploadedFile permissions

DescriptionI run into problem when I saving uploaded file to a folder and trying to get it from nginx it gives me permis...

Gin goroutine leak

With issues: goroutine profile: total 77547687 @ 0x44066e 0x4393d7 0x472605 0x4e5a27 0x4e6d1a 0x4e6d08 0x539305 0x547545...

Gin Improve Documentaion: Lack of Structured Documentation Makes it Difficult for New Developers to Learn Gin

Issue:Unorganized Documentation: The documentation seems scattered across various pages, making it difficult to follow a...

Gin Strange, the router is not registered

DescriptionThe gin code doesn't work, the router isn't registered and printed, and it doesn't panicHow to reproducepacka...

Gin gin context with tracing not work

when implementing use otel tracing like thisand apply to router like "router.POST("/v4/*xxxx", gatewayPostHandler, WithT...

Gin How to add a unified response header after the processing function

I want to add a uniform response header to all the processing functions, but it does not workAs shown in the figure belo...

Gin MustGet sometimes panics even though Set was called in middleware

Middleware - func middleware() gin.HandlerFunc { return func(c *gin.Context) { //..... ...

Gin use StaticFS('/*png', http.Dir("my_file_system)) to serve all images

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

Gin Provide way to add middleware as last HandlerFunc before the real route itself

DescriptionCurrently we can add middlewares to gin routes. However, there is no easy way to add middleware "just before"...

Gin reopen "Gin Context implementation breaks context.Context contract #3888"

this commit did not fix problem,just replace 0 to ContextRequestKey#3897this code can solve this problemComment From: hu...

Gin ShouldBindJson panic with error: Undefined validation function

DescriptionShouldBindJson panic with error: Undefined validation function 'enabled' on field 'Status'"How to reproducepa...
上一页 下一页
.