You are developing a web application in Go, and you need to handle HTTP requests asynchronously. Which feature of Go would you use for this purpose?

  • Channels
  • Goroutines
  • Mutexes
  • Pointers
Goroutines are lightweight threads of execution in Go that allow functions to be executed concurrently. They are commonly used to handle tasks like asynchronous HTTP request processing in web applications.
Add your answer
Loading...

Leave a comment

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