dbtpl is a Go-based tool that brings templated SQL into your codebase in a clean and structured way. It allows developers to define raw SQL queries in .tpl.sql files and compile them into Go code with strong typing and minimal overhead. By combining SQL’s power with Go’s safety and performance, dbtpl is ideal for teams that want full SQL control without sacrificing maintainability.
Features
- Define SQL templates in standalone .tpl.sql files
- Generate strongly-typed Go code from templates
- No ORM overhead, pure SQL execution
- Supports query parameters and return types
- Lightweight with minimal dependencies
- Encourages clean separation of SQL and Go logic
Categories
SQL ClientsLicense
MIT LicenseFollow DbTpl
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of DbTpl!