In this tutorial, we are going to see an example program to learn how to do database CRUD operations using Golang and MySQL. CRUD is an acronym for Create, Read, Update, and Delete. CRUD operations are basic data manipulation for database.
In this example, we are going to create an interface as database front end to handle these operations. We have Employee table containing Employee information like id, name and city. With this table, we have to perform CRUD using MySQL.
I've done a little of this already, but this looks to be a pretty complete guide for a good starting point.
https://www.golangprograms.com/example-of-golang-crud-using-mysql-from-scratch.html
I've done a little of this already, but this looks to be a pretty complete guide for a good starting point.