Changes

Jump to: navigation, search

Team Go

40 bytes removed, 18:04, 18 December 2017
no edit summary
== Channels ==
Channels are what Goroutines use to communicate with each other. They help Goroutines synchronize their execution. Channels can have directions that restrict them to just sending or receiving. Channels can have several parts to them: the type of element you can send through a channel, its capacity or buffer size and the direction of communication which is specified using a <- operator. Data can be sent from one end and received at the other, similar to how MPI threads communicate. A communication can be sent using '''t <- argument''' Or received using '''variable := <- t'''.
32
edits

Navigation menu