Solution 3: Go Packages and Functions

Let’s solve the challenges set in the previous lesson.

Solution 1

Here’s the rewritten code for getSchema.go that works with the jackc/pgx package:

Get hands-on with 1200+ tech skills courses.