Gin
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.
Here are 830 public repositories matching this topic...
-
Updated
Jul 14, 2020 - Go
In .air.conf, if you set the tmp to ".", your entire current working directory will be wiped. This can be very bad especially if you haven't committed to git in a while. Can we have a warning if it is set to "." or atleast some documentation around that please?
My .air.conf that caused this:
# Working directory
# . or absolute path, please note that the directories following must be und
/* the purpose of this function is to stick relevant user identifiers within the jwt token (as token claims)
after having successfully authenticated (logged in). The data parameter into this function is the return value of the
authentication handler. If you wish to use these claims within your application, it is under the key "JWT_PAYLOAD" within the gin context (Assuming you are using th
My project structure:
./
./cmd/main/main.go
./internal/xxxx
./pkg/xxxx
When I run swag init under root directory of the project it complains on absence of main.go.
When I run swag init under cmd/main/main.go it doesn't include ./internal or ./pkg directories
-
Updated
Jun 18, 2020 - C
-
Updated
Jul 11, 2020 - Go
-
Updated
Oct 24, 2019 - Go
-
Updated
May 12, 2020 - Go
-
Updated
Oct 14, 2019 - Go
Created by Manu MA, Javier Provecho Fernandez
Released June 30, 2014
Latest release 2 months ago
- Repository
- gin-gonic/gin
- Website
- gin-gonic.com
Description
Using the fetch API from WHATWG in Google Chrome, an image upload does not have Content-Type multipart/form-data. Instead, the content type is set to the MIME type (ex:
image/jpeg) with aboundaryparameter. Setting Content-Type explicitly tomultipart/form-datashould result in an error (and it does).How to reproduce
Follow an existing image upload example from