stop execution in example

This commit is contained in:
Hannes 2023-02-13 16:17:23 -08:00 committed by GitHub
parent c1d06e3d08
commit 9eaba78ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -885,6 +885,7 @@ func main() {
if err := c.ShouldBindHeader(&h); err != nil {
c.JSON(http.StatusOK, err)
return
}
fmt.Printf("%#v\n", h)