pgx
PostgreSQL driver and toolkit for Go
...The library includes connection pooling, automatic prepared statement caching, and efficient batch query execution. It supports approximately 70 PostgreSQL data types, including arrays, JSON, network addresses, and custom types. Developers can perform bulk data transfers through PostgreSQL's COPY protocol and use LISTEN/NOTIFY for asynchronous notifications. Additional functionality includes transaction management, TLS connections, tracing, and logging. Its modular packages also support building database proxies, alternative drivers, and other PostgreSQL tools.