Skip to content

Glossary: Go Beyond the Basics

goroutine

Also written: goroutines, go keyword

A function running alongside the rest of the program, started with the `go` keyword. Goroutines are cheap, but they all stop when `main` returns.

Where the book teaches it

Related terms

WaitGroupchannelconcurrency