This commit is contained in:
parent
0303b4b9aa
commit
0de0522a0c
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
|
@ -114,6 +114,9 @@ func main() {
|
|||
}
|
||||
defer resp.Body.Close()
|
||||
fmt.Println("response Status:", resp.Status)
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
fmt.Printf("response: %+v\n", resp)
|
||||
}
|
||||
}
|
||||
|
||||
func card(d templateData) ([]byte, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue