Created
February 13, 2021 02:27
-
-
Save shazadbrohi/b2d832183d6ef04954352d5ec354f708 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 _, url := range urls { | |
go fetchUrl(url, send_channel) | |
} | |
for _, url := range urls { | |
fmt.Println("Fetching channel content for URL: ", url) | |
receive_channel = <-send_channel | |
fmt.Println(receive_channel) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment