A Package for Working with a Database

Let’s learn about a package for working with a database.

Working with a database schema

This lesson will develop a Go package for working with a given database schema stored on a Postgres database, with the end goal of demonstrating how to develop, store, and use a package. When interacting with specific schemas and tables in our application, we usually create separate packages with all the database-related functions—this also applies to NoSQL databases.

Get hands-on with 1200+ tech skills courses.