goroutines
Goroutines are lightweight Threads managed by the Go Runtime.
to start a go routine
go f (x, y, z)The evaluation of f, x, y, and z happens in the current goroutine and the execution of f happens in the new goroutine.
Goroutines are lightweight Threads managed by the Go Runtime.
to start a go routine
go f (x, y, z)The evaluation of f, x, y, and z happens in the current goroutine and the execution of f happens in the new goroutine.