dos(upload): fix alignment (#1030)

This commit is contained in:
Eason Lin 2017-07-18 09:23:10 +08:00 committed by Bo-Yi Wu
parent 199bbf2ae5
commit 30cfa590bb

View File

@ -276,8 +276,8 @@ func main() {
file, _ := c.FormFile("file")
log.Println(file.Filename)
// Upload the file to specific dst.
// c.SaveUploadedFile(file, dst)
// Upload the file to specific dst.
// c.SaveUploadedFile(file, dst)
c.String(http.StatusOK, fmt.Sprintf("'%s' uploaded!", file.Filename))
})
@ -309,7 +309,7 @@ func main() {
log.Println(file.Filename)
// Upload the file to specific dst.
// c.SaveUploadedFile(file, dst)
// c.SaveUploadedFile(file, dst)
}
c.String(http.StatusOK, fmt.Sprintf("%d files uploaded!", len(files)))
})