#212212th of 275 in Backends, databases and hosting
ent
Entity framework for Go that generates typed database code from schemas
- Stars
- 17.2k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Last release
- Mar 2026
- Language
- Go
16,938 on 28 Apr 202617,239 on 17 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
ent models a database schema as Go code and generates a statically typed API for queries, aggregations and graph traversal. It supports MySQL, MariaDB, TiDB, PostgreSQL, CockroachDB, SQLite and Gremlin, and can be customized through Go templates. It is a general-purpose Go data-layer library with no AI features in the README.
Who it is for: Go developers who want a typed ORM for large relational data models
Strengths
- Schema defined as Go code, with a generated, statically typed query API
- Supports seven storage drivers, including PostgreSQL, MySQL, SQLite and CockroachDB
- Graph-style traversal and aggregation across related entities
- Code generation can be extended with custom Go templates
Weaknesses
- Not an AI project; it is a data-access library, so it fits this list loosely
- Go only, and requires a code generation step after schema changes
- v1 has not shipped; the README links to a v1 roadmap issue
- Library, not a hosted backend: no auth, storage or API server included
What it needs
- no GPU
- Needs MySQL, MariaDB, TiDB, PostgreSQL, CockroachDB, SQLite, Gremlin
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- Generated ent/tx.go can lose the stdsql "database/sql" import (undefined: stdsql) ↗ (opens in a new tab)2 reactions
- GoType() doesn't support generic methods from other packages ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- Go 1.27.0 Compatibility: Fix "internal error: package 'context' without types ↗ (opens in a new tab)7 reactions · closed 14 Oct 2026Fixed by all: support go1.27 by updating x/tools to v0.52.0 ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 275| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 94 out of 100 |
| 2 | coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH | 93 out of 100 |
| 3 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 93 out of 100 |
| #4 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 93 out of 100 |
| #5 | medusaNode.js commerce platform with modular products, carts, orders and payments | 93 out of 100 |