Company
Date Published
Author
Kamal Nasser
Word count
2398
Language
English
Hacker News points
None

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.