
ant
A typed ORM for Go with plain structs and no code generation
About
ant is a typed ORM for Go that leverages modern generics. Models are plain structs, and queries are checked by the compiler. Columns are referenced through field pointers rather than strings, so renaming a field renames it in every query.
It is built on database/sql and supports PostgreSQL, MySQL, MariaDB, SQLite and SQL Server. It covers typed queries, relations loaded in batches, change tracking with SaveChanges, transactions, migrations written as plain SQL, and an antvet go vet analyzer.
It is for Go developers who want typed database access without a code generation step. It requires Go 1.27 or later and is pre-1.0, so the API may still change.
How it was made
Estimated by the maker.
Agents
More like this
A Swift and Objective-C decompiler that prints ? instead of guessing














