mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-13 22:52:20 +08:00
Compare commits
2 Commits
7626cad909
...
cf805be1e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf805be1e8 | ||
|
|
9eaba78ab6 |
@ -1071,6 +1071,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