docs(readme): fix single file example (#1017)

issue discovered by @sgon00 at gitter
This commit is contained in:
Javier Provecho Fernandez 2017-07-14 18:52:16 +02:00 committed by Bo-Yi Wu
parent 65a6dd46a5
commit fe4d405108
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ func main() {
file, _ := c.FormFile("file")
log.Println(file.Filename)
c.String(http.StatusOK, fmt.Printf("'%s' uploaded!", file.Filename))
c.String(http.StatusOK, fmt.Sprintf("'%s' uploaded!", file.Filename))
})
router.Run(":8080")
}