Skip to content

Commit

Permalink
Updated the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterclaerhout committed Oct 16, 2018
1 parent abf306a commit 5c18eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func main() {
for _, url := range urls {
wg.BlockAdd()
go func(url string) {
defer wg.Done()
fmt.Println("%s: checking", url)
res, err := http.Get(url)
if err != nil {
Expand All @@ -40,7 +41,6 @@ func main() {
defer res.Body.Close()
fmt.Println("%s: result: %v", err)
}
wg.Done()
}(url)
}

Expand Down

0 comments on commit 5c18eb6

Please sign in to comment.