mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-26 19:38:14 +08:00
Merge 9eaba78ab66bcd3e9edefe68103b242418311bb7 into e88fc8927a52b74f55bec0351604a56ac0aa1c51
This commit is contained in:
commit
cf805be1e8
@ -1071,6 +1071,7 @@ func main() {
|
||||
|
||||
if err := c.ShouldBindHeader(&h); err != nil {
|
||||
c.JSON(http.StatusOK, err)
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Printf("%#v\n", h)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user