ORM means Object Relational Mapper, it helps you to manage your database models and queries easier. In Go, people may prefer to write down their queries like man, but we have the following ORMs in Go:

  • ent
  • bun is a SQL-first Golang ORM provided by Uptrace.
  • gorm is easy and fun, but you also prefer to write down your queries, like man 💪.
  • sqlboiler