Home / Companies / DigitalOcean / Blog / Post Details
Content Deep Dive

Creating a Simple Contacts List with Go and PostgreSQL

Blog post from DigitalOcean

Post Details
Company
Date Published
Author
Kamal Nasser
Word Count
2,398
Language
English
Hacker News Points
-
Summary

This tutorial guides you through building a simple contacts list web page using Go and PostgreSQL. The resulting page displays a list of contacts fetched from a PostgreSQL database. Along the way, you will learn how to connect to a Postgres database in Go using the sqlx and pgx packages, render data dynamically using a template, and serve the resulting page on an HTTP server.