The go keyword is used to spawn a new _____.

  • Process
  • Function
  • Thread
  • Channel
The go keyword is used to spawn a new Goroutine. When you use go followed by a function call, it creates a new Goroutine that runs concurrently with the calling Goroutine. This allows you to perform tasks concurrently, taking advantage of multi-core processors and improving the efficiency and responsiveness of your Go programs.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *