Browse Source

Update go.md

pull/524/head
Mahmud Ridwan 3 years ago
committed by GitHub
parent
commit
fc6a593c68
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      templates/docs/go.md

+ 2
- 1
templates/docs/go.md View File

@ -14,10 +14,11 @@ func main() {
Timeout: 10 * time.Second, Timeout: 10 * time.Second,
} }
_, err := client.Head("PING_URL")
resp, err := client.Head("PING_URL")
if err != nil { if err != nil {
fmt.Printf("%s", err) fmt.Printf("%s", err)
} }
resp.Body.Close()
} }
``` ```

Loading…
Cancel
Save