Skip to content

Commit c945787

Browse files
marcustialdas
authored andcommitted
Fixed path parameter tag in example
1 parent caec9cf commit c945787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/guide/binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In the struct definitions each field can be tagged to restrict binding to specif
2323

2424
```go
2525
type User struct {
26-
ID string `path:"id" query:"id" form:"id" json:"id" xml:"id"`
26+
ID string `param:"id" query:"id" form:"id" json:"id" xml:"id"`
2727
}
2828
```
2929

0 commit comments

Comments
 (0)