Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 23 Go ORM Projects
-
-
Project mention: Hello, is there a library similar to graphql-compose from Node.js in Go? | reddit.com/r/golang | 2023-01-18
I think you are looking for ent https://github.com/ent/ent which has nice graphql integration.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)
-
-
SQL code generator (aka inspect a database or SQL files to generate data models). You have the option of using something like volatiletech/sqlboiler which looks at the a physical database and generates code based on the schema. Or SQLC which is an amazing and fast project.
-
I usually work with PostgreSQL and have used https://github.com/go-pg/pg. https://github.com/uptrace/bun is its successor.
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
xo
Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server (by xo)
Project mention: Help with XO's new templating, how to access fields and params | reddit.com/r/golang | 2022-08-23I am using the library xo to generate basic data retrieval code from a sql schema for a crud api.
-
upper.io/db
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Project mention: [Hiring] Remote Golang job: Senior Backend Engineer (Go) at Horizon (Toronto, Canada) | reddit.com/r/jobbit | 2022-05-28You will be joining the expert Go team at Horizon, previously who in our spare time + for fun, authored OSS projects like chi (https://github.com/go-chi/chi), upper/db (https://github.com/upper/db), webrpc (https://github.com/webrpc/webrpc), goware (https://github.com/goware), and much more. Our Go codebases are extremely clean and the patterns we've built have been shaped over 7 years of writing production Go systems and open source projects. These are the patterns which we apply to our infrastructure at Horizon in our products Skyweaver and Sequence.
-
-
-
This way: https://github.com/uptrace/bun, I prefer in all cases with PostgreSQL
-
xorm
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作 (by xormplus)
-
The same company that stopped officially maintaining their golang library when it wasn't getting "the growth we were hoping for".
-
-
I've also used https://github.com/gobuffalo/pop for an on-hold side project.
-
go-doudou
go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.
-
-
Have you tried https://github.com/scylladb/gocqlx by the way?
-
-
go-queryset
100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go ORM related posts
- clean and optimized way to read/import a .SQL query for use?
- Single Table Inheritance in Go using gorm
- Hello, is there a library similar to graphql-compose from Node.js in Go?
- ORM or no ORM (and which ones)?
- Go is also able to use objects to operate databases. Many users have commented that this ensures robustness in the code
- I want to reimplement a .NET application in Go, looking for hints and tips.
- Using Prisma Migrate with a Dockerized Postgres
-
A note from our sponsor - SonarQube
www.sonarqube.org | 3 Feb 2023
Index
What are some of the best open-source ORM projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | GORM | 31,250 |
2 | ent | 12,862 |
3 | gf | 8,780 |
4 | sqlc | 7,329 |
5 | Xorm | 6,204 |
6 | SQLBoiler | 5,551 |
7 | go-pg | 5,318 |
8 | gorp | 3,628 |
9 | xo | 3,309 |
10 | upper.io/db | 3,244 |
11 | gormt | 2,108 |
12 | Storm | 1,942 |
13 | bun | 1,847 |
14 | xorm | 1,534 |
15 | prisma-client-go | 1,385 |
16 | reform | 1,382 |
17 | gobuffalo/pop | 1,290 |
18 | go-doudou | 1,017 |
19 | go-sqlbuilder | 930 |
20 | gocqlx | 724 |
21 | godb | 719 |
22 | go-queryset | 692 |
23 | REL | 624 |