Skip to content

Instantly share code, notes, and snippets.

View faruqisan's full-sized avatar

Ikhsan Faruqi faruqisan

View GitHub Profile
package main
import "sync"
func main() {
var wg sync.WaitGroup
urls := []string{"http://foo.com", "http://bar.com"}
for _, url := range urls {
wg.Add(1)