Continuing with our lockdown learning of Go language. Here’s the a short intro to Goroutines in Golang
Here’s a list of things about go routines
- Goroutines are “lightweight” threads
- “lightweight” threads because they are not OS threads
- Exist and managed within the Goruntime
- go
() starts a new Goroutine - main() itself runs as Goroutine
You can watch other videos in Go lang in the links below