atc0005 / learn

Various topics that I want to learn more about, either for professional development or for my own use
0 stars 0 forks source link

Example of Golang CRUD using MySQL from scratch #92

Open atc0005 opened 4 years ago

atc0005 commented 4 years ago

https://www.golangprograms.com/example-of-golang-crud-using-mysql-from-scratch.html

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.