Merge 0ebb3b2c51c7acec2227b69c683edec24957aaf5 into d5b353c5d5a560322e6d96121c814115562501f7

This commit is contained in:
B1nj0y 2017-05-11 16:12:38 +00:00 committed by GitHub
commit 35c8e84899

View File

@ -170,7 +170,7 @@ func main() {
} }
``` ```
### Multipart/Urlencoded Form #### Multipart/Urlencoded Form
```go ```go
func main() { func main() {
@ -190,7 +190,7 @@ func main() {
} }
``` ```
### Another example: query + post form #### Another example: query + post form
``` ```
POST /post?id=1234&page=1 HTTP/1.1 POST /post?id=1234&page=1 HTTP/1.1
@ -220,7 +220,7 @@ func main() {
id: 1234; page: 1; name: manu; message: this_is_great id: 1234; page: 1; name: manu; message: this_is_great
``` ```
### Another example: upload file #### Another example: upload file
References issue [#548](https://github.com/gin-gonic/gin/issues/548). References issue [#548](https://github.com/gin-gonic/gin/issues/548).
@ -373,7 +373,7 @@ func main() {
``` ```
###Multipart/Urlencoded binding #### Multipart/Urlencoded binding
```go ```go
package main package main
@ -451,7 +451,7 @@ func main() {
} }
``` ```
####Serving static files #### Serving static files
```go ```go
func main() { func main() {
@ -465,7 +465,7 @@ func main() {
} }
``` ```
####HTML rendering #### HTML rendering
Using LoadHTMLTemplates() Using LoadHTMLTemplates()