Created
October 18, 2013 14:49
-
-
Save pandemicsyn/7042675 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var wg sync.WaitGroup | |
| for i := 0; i < 200; i++ { | |
| wg.Add(1) | |
| go blastSwift("images", token, url, &wg) | |
| } | |
| fmt.Println("Waiting on survivors") | |
| wg.Wait() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment