Tim
Tim
@leeqvip context is pooled object, pass context.Copy as first param. ```go func Handler(c *gin.Context) { ip1 := c.ClientIP() go func(cc *gin.Context) { ip2 := cc.ClientIP() fmt.Println(ip1, ip2) }(c.Copy()) c.JSON(200, nil)...
@thinkerou PTAL, thks.
@thinkerou Could you make a code review for this PR. Thanks a lot.
@thinkerou @appleboy Please make a code review, thanks. We really need this feature in our project.
> please also update readme, and add example code, thanks @thinkerou I extract out an interface `api.JsonApi` to restrict all serialization and deserialization behaviors. Developers only need to implement this...
@thinkerou
@appleboy PLTA, thanks very much.
@thinkerou In the previous force push, I fixed the format of the example in the readme file.
Any progress?
@appleboy @thinkerou @javierprovecho Please take a look