sqlx
general purpose extensions to golang's database/sql
...Its database, transaction, statement, connection, and related types remain supersets of their standard-library equivalents. This allows existing database/sql applications to adopt additional functionality with relatively little restructuring. Query results can be mapped directly into structs, embedded structs, maps, and slices. Named parameters and named prepared statements simplify queries that would otherwise rely entirely on positional bind variables. Convenience methods such as Get and Select reduce boilerplate when retrieving single records or collections, while additional helpers support expanded queries and driver-specific binding behavior.