Skip to main content
  1. Personal Blogs/

(In Progress) Concurrency with Goroutines

·41 words·1 min
go go-routines concurrency

Go routines are very useful when you want the program to run fast. However, do not mistake concurrency with parallelism.

To create a goroutine, simple use go keyword

1
2
3
4
5
func aFunc() {
    fmt.Println("Hello World")
}

go aFunc()