mirror of
https://github.com/gin-gonic/gin.git
synced 2025-04-24 10:20:28 +08:00
Merge 9eaba78ab66bcd3e9edefe68103b242418311bb7 into 8763f33c65f7df8be5b9fe7504ab7fcf20abb41d
This commit is contained in:
commit
828832eb4a
@ -1070,6 +1070,7 @@ func main() {
|
|||||||
|
|
||||||
if err := c.ShouldBindHeader(&h); err != nil {
|
if err := c.ShouldBindHeader(&h); err != nil {
|
||||||
c.JSON(http.StatusOK, err)
|
c.JSON(http.StatusOK, err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("%#v\n", h)
|
fmt.Printf("%#v\n", h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user