Adding Finishing Touches to the Initial Client for the REST API

Develop the client-side of the REST API.

Now we can use these functions to implement the first command list to list all to-do items from the API. We use the Cobra generator to add the list command to our application:

Get hands-on with 1200+ tech skills courses.