Skip to content

Commit a71f744

Browse files
Fennygitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent 9d4e793 commit a71f744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ c.BodyParser(out interface{}) error
170170
```go
171171
// Field names should start with an uppercase letter
172172
type Person struct {
173-
Name string `json:"name" xml:"name"`
174-
Pass string `json:"pass" xml:"pass"`
173+
Name string `json:"name" xml:"name" form:"name" query:"name"`
174+
Pass string `json:"pass" xml:"pass" form:"pass" query:"pass"`
175175
}
176176

177177
app.Post("/", func(c *fiber.Ctx) {

0 commit comments

Comments
 (0)