August 2019
Beginner to intermediate
798 pages
17h 2m
English
Although you should not make any assumptions about the order in which your goroutines will be executed, there are times when you need to be able to control this order. This subsection illustrates such a technique using signal channels.
The name of the Go program for this topic is defineOrder.go, and it will be presented in five parts. The first part of defineOrder.go follows:
package main import ( "fmt" ...
Read now
Unlock full access