Update README.md

This commit is contained in:
linzi 2021-12-11 14:12:32 +08:00 committed by GitHub
parent 3973c77263
commit 8708338b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,7 @@ func main() {
router.MaxMultipartMemory = 8 << 20 // 8 MiB
router.POST("/upload", func(c *gin.Context) {
// single file
file, _ := c.FormFile("file")
file, _ := c.FormFile("Filename")
log.Println(file.Filename)
// Upload the file to specific dst.