Created
September 12, 2018 18:53
-
-
Save rogerwelin/4e8d81c50082f254d52c3c381e53ef69 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
| for _, ph := range greeks { | |
| wg.Add(1) | |
| go func(greek string) { | |
| defer wg.Done() | |
| fmt.Println(greek) | |
| }(ph) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment