Skip to content

Commit

Permalink
readme.md 添加对标文件的链接, #44
Browse files Browse the repository at this point in the history
如题
  • Loading branch information
guonaihong committed Sep 14, 2019
1 parent 621bbf1 commit b79aeb1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ err := gout.New(nil).
POST(":8080/test").
SetForm(gout.H{"mode": "A",
"text": "good",
"voice": gout.FileFile("test.pcm"),
"voice2": gout.FileMem("pcm")}).Code(&code).Do()
"voice": gout.FormFile("test.pcm"),
"voice2": gout.FormMem("pcm")}).Code(&code).Do()
if err != nil {
fmt.Printf("%s\n", err)
Expand Down
2 changes: 1 addition & 1 deletion form-xxx-to-gout-doc/beego-httplib.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ gout.POST("http://beego.me/").SetHeader(
"Host":"beego.me",
"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36"}).Do()
```
###
### 发送大片的数据

#### httplib
```go
Expand Down
4 changes: 2 additions & 2 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const (

type H map[string]interface{}

type FileFile = core.FormFile
type FileMem = core.FormMem
type FormFile = core.FormFile
type FormMem = core.FormMem

func lastChar(str string) uint8 {
if str == "" {
Expand Down

0 comments on commit b79aeb1

Please sign in to comment.