mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-09 22:18:48 +08:00
Merge 9eaba78ab66bcd3e9edefe68103b242418311bb7 into 5260de6a83283abb87e827130accd495ad543cf3
This commit is contained in:
commit
b527173d93
@ -1135,6 +1135,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