In Go, what is the purpose of routing in web development?

  • To direct traffic between web servers
  • To handle HTTP requests and map them to handlers
  • To manage databases
  • To authenticate users
The correct option is "To handle HTTP requests and map them to handlers". Routing in web development with Go involves directing incoming HTTP requests to the appropriate handlers or controllers based on the request URL.
Add your answer
Loading...

Leave a comment

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