docs(readme): fix multiple file example (#1018)

This commit is contained in:
Eason Lin 2017-07-15 01:28:16 +08:00 committed by Bo-Yi Wu
parent fe4d405108
commit 5cb25a6410

View File

@ -305,7 +305,7 @@ func main() {
for _, file := range files { for _, file := range files {
log.Println(file.Filename) log.Println(file.Filename)
} }
c.String(http.StatusOK, fmt.Printf("%d files uploaded!", len(files))) c.String(http.StatusOK, fmt.Sprintf("%d files uploaded!", len(files)))
}) })
router.Run(":8080") router.Run(":8080")
} }