Design a type-safe Go data access layer using sqlc, database/sql, connection pooling, and transaction patterns.
## CONTEXT I am building the data layer for a Go microservice talking to PostgreSQL in 2026. I want type-safe queries generated by sqlc, correct connection pool configuration, robust transaction handling, and context-aware queries that honor request deadlines. ORMs have caused us hidden N+1 queries and opaque SQL. ##…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro