Goroutines

[[Go]]

Main Things

Goroutines doesn't wait for execution like functions do

When a new Goroutine is started, the goroutine call returns immediately. Unlike functions !!

The control does not wait for the Goroutine to finish executing. The control returns immediately to the next line of code after the Goroutine call and any return values from the Goroutine are ignored.

The main fucntion is a goroutine 😵