Search⌘ K
AI Features

Exercise: APIs and Routing

Explore how to extend a Go backend server by adding new routes for searching users by name or age. Learn to implement route handlers that manage user queries effectively, handle error cases, and return appropriate status codes and messages to ensure a robust, scalable server.

We'll cover the following...

Problem statement

Add a new route to our graceful server to search for and return a user’s name and age. The users are stored ...