Update index.md (#18529)

This commit is contained in:
karanbhomiagit
2018-10-14 21:58:11 +05:30
committed by Quincy Larson
parent 5f5bafaccd
commit 44ef2f22a4

View File

@ -9,6 +9,10 @@ This is a stub. [Help our community expand it](https://github.com/freecodecamp/g
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
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:
* [A Tour of Go](https://tour.golang.org/concurrency/1)
* [Go By Example](https://gobyexample.com/goroutines)