Setting up Go's pgx package with docker-compose
Go’s pgx package goes above being a postgres driver and actually implements its own interface that boasts better performance than the standard database/sql package. That, along with it being a well-maintained and actively developed project, make it an attractive option for using postgres in your next Go project. This guide will hopefully help you get up and running with pgx and docker-compose. 1. Go Project Create a new Go project according to pgx’s Getting Started guide ....