Need Assistance?

support@tutorialshub.in

Concurrency: Goroutines & Channels

Goroutines (go func())

ADVERTISEMENT
Go (Golang) Free Lesson
5 min read
ADVERTISEMENT

Start a concurrent Goroutine simply by prefixing any function call with go. Goroutines start at just ~2 KB of stack memory (1,000x lighter than OS threads!), allowing Go servers to run 100,000+ goroutines smoothly.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you