O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Whenever we want to persist data we always look forward to saving it in databases, which are mainly divided into two categories—SQL and NoSQL. There are a number of databases under each category that can be used depending on the business use case because each one has different characteristics and serves a different purpose.

In this chapter, we will integrate a Go web application with the most famous open source databases—MySQL and MongoDB and learn to perform CRUD operations on them. As we will use MySQL and MongoDB, I assume both of the databases are installed and running on your local machine.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required