Add a CRUD Feature for Item Data

Learn how to add the CRUD functionality to the REST API application with MySQL Database.

Add CRUD functionality to the service component

In the previous lesson, the service component uses local storage with a slice in Go. Because persistent storage will be used, we change the local storage to persistent storage using the MySQL database for all functionalities.

Get all items

Inside the services.go file, we change the implementation of the function used for getting all items.

Get hands-on with 1200+ tech skills courses.