Skip to content

Commit 01d7d34

Browse files
authored
Merge pull request #58 from soonoo/master
Some notes about bodyparser
2 parents 62e2da4 + 183b891 commit 01d7d34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

context.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ c.BodyParser(out interface{})
180180

181181
// curl -v -F name=john -F pass=doe http://localhost:3000
182182

183+
// Field names should start with an uppercase letter
184+
// Pass (o)
185+
// pass (x)
183186
type Person struct {
184187
Name string `json:"name" xml:"name" form:"name"`
185188
Pass string `json:"pass" xml:"pass" form:"pass"`

0 commit comments

Comments
 (0)