Skip to content
An entity framework for Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci ent/circleci: run codegen before running integration tests (#98) Oct 15, 2019
cmd/entc entc: add option to use entc as package Oct 7, 2019
dialect dialect/sql: fix bad query generation on clone Oct 15, 2019
doc entc: change the way we inject additional fields (#1560) Oct 15, 2019
entc dialect/sql: fix bad query generation on clone Oct 15, 2019
examples ent/entc: use select/scan on id query (#1552) Oct 15, 2019
schema ent/schema: adding sensitive fields support (#75) Oct 7, 2019
.golangci.yml Adopt Contributor Covenant Aug 30, 2019 ent/entc: set go-bindata version in go.mod (#74) Oct 7, 2019
LICENSE ent: add Apache License Aug 26, 2019
ent.go ent: add mixin interface to schema Sep 26, 2019
go.mod entc/gen: suspended goimports after files were written (#89) Oct 13, 2019

ent - An Entity Framework For Go

Simple, yet powerful ORM for modeling and querying data.

  • Schema As Code - model any graph schema as Go objects.
  • Easily Traverse Any Graph - run queries, aggregations and traverse any graph structure easily.
  • Statically Typed And Explicit API - 100% statically typed and explicit API using code generation.
  • Multi Storage Driver - supports MySQL, SQLite and Gremlin.


go get


The documentation for developing and using ent is available at:

Join the ent Community

See the CONTRIBUTING file for how to help out.

Project Status

ent was developed and maintained by a8m and alexsn from the Facebook Connectivity team. It's currently considered experimental (although we're using it in production), and the roadmap for v1 release is described here.
Read more about the motivation of the project here.


ent is licensed under Apache 2.0 as found in the LICENSE file.

You can’t perform that action at this time.