Today I practiced Go on Sololearn! This time I went over the select statement, which is used to wait on multiple channel operations. It has similar syntax to a switch statement, but each case statement is a channel operation. It also waits for a channel to receive data and executes its case. Next time I will be reviewing everything we have learned!

 

Bug Zero Icon

OUR NEWSLETTER