Gorotines

Goroutines are functions that can run concurrently. Golang follows the model of concurrency called fork-join model. The subroutine forks from the mainroutine and after it completes its execution joins back to the mainroutine.