forked from mirror/gin
docs(readme): fix multiple file example (#1018)
This commit is contained in:
parent
fe4d405108
commit
5cb25a6410
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue