mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-27 12:43:53 +08:00
Merge 9eaba78ab66bcd3e9edefe68103b242418311bb7 into c3d5a28ed6d3849da820195b6774d212bcc038a9
This commit is contained in:
commit
60972e8c9f
@ -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