Created
March 9, 2021 07:05
-
-
Save velotiotech/36181b9da8d698ae5b28f030cd98eee2 to your computer and use it in GitHub Desktop.
This file contains 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
func printChannelData(c chan int) { | |
fmt.Println("Data in channel is: ", <-c) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment