mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 10:02:10 +08:00
remove comment
This commit is contained in:
parent
2b1decda0b
commit
1097c1798f
@ -442,7 +442,6 @@ func (c *Context) GetPostFormMap(key string) (map[string]string, bool) {
|
||||
req.ParseMultipartForm(c.engine.MaxMultipartMemory)
|
||||
dicts, exist := c.get(req.PostForm, key)
|
||||
|
||||
// when go version is 1.6, exist is false
|
||||
if !exist && req.MultipartForm != nil && req.MultipartForm.File != nil {
|
||||
dicts, exist = c.get(req.MultipartForm.Value, key)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user