Hands-On System Programming with Go
上QQ阅读APP看书,第一时间看更新

Understanding flow control

In order to control the flow of an application, Go offers different tools – some statements like if/else, switch, and for are used in sequential scenarios, whereas others like go and select are used in concurrent ones.