8 months ago
19 lines471 B
Lesson 5: Talking to Postgres
Talking to Postgres comes up in almost every real Go project. We start with the why, then write code together.
Read the full lesson: https://glibcode.net/courses/go-apis/lessons/5
Files
main.go: database/sql with the pgx driver
Run it
go run ./lessons/05-talking-to-postgres
Exercises
See exercises.md. Ask in the forum after you have tried.