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
The most advanced C and C++ source code analyzer Icon
The most advanced C and C++ source code analyzer

Combining the benefits of static and dynamic source code analysis to deliver the most advanced & exhaustive code verification tool.

TrustInSoft Analyzer is a C and C++ source code analyzer powered by formal methods, mathematical & logical reasonings that allow for exhaustive analysis of source code. This analysis can be run without false positives or false negatives, so that every real bug in the code is found. Developers receive several benefits: a user-friendly graphical interface that directs developers to the root cause of bugs, and instant utility to expand the coverage of their existing tests. Unlike traditional source code analysis tools, TrustInSoft’s solution is not only the most comprehensive approach on the market but is also progressive, instantly deployable by developers, even if they lack experience with formal methods, from exhaustive analysis up to a functional proof that the software developed meets specifications.
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