mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-11 00:56:57 +08:00
Merge 0ebb3b2c51c7acec2227b69c683edec24957aaf5 into d5b353c5d5a560322e6d96121c814115562501f7
This commit is contained in:
commit
35c8e84899
12
README.md
12
README.md
@ -170,7 +170,7 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
### Multipart/Urlencoded Form
|
||||
#### Multipart/Urlencoded Form
|
||||
|
||||
```go
|
||||
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
|
||||
@ -220,7 +220,7 @@ func main() {
|
||||
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).
|
||||
|
||||
@ -373,7 +373,7 @@ func main() {
|
||||
```
|
||||
|
||||
|
||||
###Multipart/Urlencoded binding
|
||||
#### Multipart/Urlencoded binding
|
||||
```go
|
||||
package main
|
||||
|
||||
@ -451,7 +451,7 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
####Serving static files
|
||||
#### Serving static files
|
||||
|
||||
```go
|
||||
func main() {
|
||||
@ -465,7 +465,7 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
####HTML rendering
|
||||
#### HTML rendering
|
||||
|
||||
Using LoadHTMLTemplates()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user