go-jet/jet

Type safe SQL builder with code generation and automatic query result data mapping

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 18th, 2026
Created on March 2nd, 2019
Open Issues & Pull Requests: 45 (+0)
GitHub issues: Enabled
Number of forks: 193
Total Stargazers: 3,802 (+0)
Total Subscribers: 23 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 19.3 hours
Mean response time: 11.9 days
90th percentile: 5.9 days
Tracked items: 107

Most active contributors

Sign in to see contributor activity.

How this project is maintained

96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 71% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 27
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 604 days
Stale 30+ days: 24
Stale 90+ days: 24

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • missing feature (53)
  • bug (37)
  • good first issue (20)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Jet is a type-safe SQL builder for Go that generates code and automatically maps query results to data structures.

Jet addresses the problem of writing SQL queries safely in Go by eliminating string-based query construction and manual result mapping. It generates Go code from your database schema, allowing you to build queries using type-safe methods rather than concatenating SQL strings. The generated code includes table definitions and column references that the compiler can verify, catching errors at build time rather than runtime. Query results are automatically mapped to Go structs, removing the need for manual row scanning and type conversion.

Jet suits projects where type safety and compile-time verification matter more than runtime flexibility. It works well with teams that prefer catching errors early and value IDE code completion for database operations. The tool supports multiple databases including PostgreSQL, MySQL, MariaDB, CockroachDB, and SQLite, making it applicable across different database choices. Developers accustomed to query builders in other languages will recognize the approach, though Jet's code generation step distinguishes it from purely runtime-based solutions.

The project shows consistent maintenance with regular commits addressing bug fixes and feature additions. Pull requests receive timely review and feedback from maintainers. The codebase demonstrates attention to test coverage, with tests accompanying new functionality. Issues are actively triaged and responded to by the maintainers, indicating engagement with user needs and problems.