gin
gin copied to clipboard
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Resolves #3857 Example: ```go package main import ( "github.com/gin-gonic/gin" "github.com/gin-contrib/cors" ) func main() { g := gin.Default() g.OnRedirect(func(c *gin.Context) { c.Writer.Header.Set("X-Foo", "Bar") }) g.GET("/foo", func(c *gin.Context) { c.String(200, "Hello, World!"))...
## Description Hi, i'm new from golang and gin. I want to implement a system that: Client sends http request to service A. Service A communicates with service B through...
1. add ShouldBindMsgPack; 2. seriallize the given struct as MsgPack into the response body.
https://github.com/gin-gonic/gin/pull/1296 fixed the conflicts!
Hi, I'm thinking of removing some checking repetitions. Although it's slightly less readable, it should perform faster as there are less comparisons for some cases. For example, you don't have...
- go version: go1.11.2 darwin/amd64 - gin version (or commit ref): v1.3.0 - operating system: macos/linux ## Description Gin replace + sign with whitespace (probably) due to url.QueryUnescape. We need...
This will cover the following scenarios: ``` type input struct { Field *time.Time `form:"field" time_format:"2006-01-02" time_utc:"1"` } ```
Should fix #1267 The length might seem drastic, but from [what I understand](https://github.com/gin-gonic/gin/issues/1267) a v6 IP might actually grow up to that length: > IPv6 addresses are represented as eight...
I am trying to write tests around my handler functions and middleware functions, but the context is not being passed to the handlerfunc, and I am not sure why. My...
## Description SSE sends response only in Event struct which follows Message and Data format. Need a Event format that sends the response in the struct defined by user. Behaviour...