freeCodeCamp/guide/english/go/goroutines/index.md

1.0 KiB

title
Goroutines

Goroutines

This is a stub. Help our community expand it.

This quick style guide will help ensure your pull request gets accepted.

Goroutines are functions or methods that run concurrently with other functions or methods. Goroutines can be thought of as light weight threads. The cost of creating a Goroutine is tiny when compared to a thread.

Prefix the function or method call with the keyword go and you will have a new Goroutine running concurrently.

More Information: