Skip to content

Commit

Permalink
fix: form tag
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi authored Mar 3, 2025
1 parent 4766b86 commit 0a9b4fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions binder/form_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ func Benchmark_FormBinder_Bind(b *testing.B) {
}

type User struct {
Name string `query:"name"`
Posts []string `query:"posts"`
Age int `query:"age"`
Name string `form:"name"`
Posts []string `form:"posts"`
Age int `form:"age"`
}
var user User

Expand Down

0 comments on commit 0a9b4fb

Please sign in to comment.