From 44ef2f22a433b92ca7d72473ec59a0df86833a56 Mon Sep 17 00:00:00 2001 From: karanbhomiagit Date: Sun, 14 Oct 2018 21:58:11 +0530 Subject: [PATCH] Update index.md (#18529) --- client/src/pages/guide/english/go/goroutines/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/pages/guide/english/go/goroutines/index.md b/client/src/pages/guide/english/go/goroutines/index.md index aec7c034dc..63bef2330f 100644 --- a/client/src/pages/guide/english/go/goroutines/index.md +++ b/client/src/pages/guide/english/go/goroutines/index.md @@ -9,6 +9,10 @@ This is a stub. [Help our community expand it](https://github.com/freecodecamp/g +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)