Basic CRUD with MYSQL & GOLANG

Anshu Pathak
Feb 8, 2020

In this tutorial, we are going to learn how to do CRUD operations using Golang and MySQL. CRUD is a combination of some operations which have Create, Read, Update, and Delete. CRUD operations are basic data manipulation for the database. CRUD is one operation in which we can do the same basic operations which are used in any application.

So let's start

  1. So now start to create a project with the name is crud. Open the visual studio code. (you can use any code editor.)
  2. Create a main.go file inside the crud folder.
  3. Create a folder with the name is views inside the crud folder.
  4. Make layouts and pages folders inside the views folder.

--

--