website
website copied to clipboard
Official website and document for Gin
https://gin-gonic.com/docs/ has a "Documentation" link that directs to itself. It would make more sense to link it to either https://pkg.go.dev/github.com/gin-gonic/gin?tab=doc or https://godoc.org/github.com/gin-gonic/gin.
The testing example is only showing how to test the GET method, but there is not way to show how to do the POST and where can we send the...
Added some samples. Refer to https://github.com/gin-gonic/gin/issues/2911
I need to create an endpoint in a group that returns me a list of the path of my application but I can't find the method that returns this information...
I'm relatively new to Gin, and so far I love the framework. My background is mostly based in PHP working with [Laravel](https://laravel.com/), and part of what makes Laravel so great...
Would you be willing to remove this Google Fonts from this website? There are better alternatives available Some reputable alternatives can be seen here: https://switching.software/replace/google-fonts/
https://gin-gonic.com/docs/quickstart/ ![image](https://user-images.githubusercontent.com/477945/77255058-1222f900-6c65-11ea-8576-a766d8eba6e5.png) But [Govendor](https://github.com/kardianos/govendor) project has been archived: ![image](https://user-images.githubusercontent.com/477945/77255070-2535c900-6c65-11ea-955c-fd1a56ce0e1f.png) We should update the documentation accordingly: https://blog.golang.org/migrating-to-go-modules
So, we could remove it, or use other instead.
JSONP
the code in https://gin-gonic.com/zh-cn/docs/examples/jsonp/ r.GET("/JSONP?callback=x", func(c *gin.Context) { data := map[string]interface{}{ "foo": "bar", } // callback 是 x // 将输出:x({\"foo\":\"bar\"}) c.JSONP(http.StatusOK, data) }) need to be: r.GET("/JSONP", func(c *gin.Context) {...