Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created March 9, 2021 07:05
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