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

Project Samples

Project Activity

See All Activity >

Categories

SQL Clients

License

MIT License

Follow DbTpl

DbTpl Web Site

Other Useful Business Software
DriveStrike: Remote Wipe | Data Breach Protection Icon
DriveStrike: Remote Wipe | Data Breach Protection

. From Fortune 500 to small businesses with remote workers, every industry can gain from premium endpoint security.

DriveStrike protects devices and data in the event of loss, theft, or use in remote locations. Remotely locate, lock, and wipe devices you manage to prevent data compromise. DriveStrike prevents data breaches to ensure confidentiality, compliance, and a competitive edge.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DbTpl!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Go

Related Categories

Go SQL Clients

Registered

2025-06-03