mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-12 00:28:37 +08:00
Merge 9eaba78ab66bcd3e9edefe68103b242418311bb7 into d7776de7d444935ea4385999711bd6331a98fecb
This commit is contained in:
commit
c021bbb5ef
@ -1135,6 +1135,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