reform
A better ORM for Go, based on non-empty interfaces and code generation. (by go-reform)
go-pg
Golang ORM with focus on PostgreSQL features and performance (by go-pg)
Our great sponsors
reform | go-pg | |
---|---|---|
1 | 9 | |
1,435 | 5,566 | |
0.4% | 0.6% | |
0.0 | 6.4 | |
about 1 year ago | 9 days ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reform
Posts with mentions or reviews of reform.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-29.
-
[Question] Working with databases/storing data in Go applications.
However, you can use something like this https://github.com/go-reform/reform to help you with, I will call it automating the code writing. But I have always opted to one of the supported drivers and written a queries myself using for example this https://github.com/go-sql-driver/mysql.
go-pg
Posts with mentions or reviews of go-pg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-12.
-
Dockerized RESTful API Application in Go: CRUD,ORM,Logs,Migrations,Validations
Might have been this one but I can't be sure https://github.com/go-pg/pg
-
What SQL library are you using?
I usually work with PostgreSQL and have used https://github.com/go-pg/pg. https://github.com/uptrace/bun is its successor.
- Why all the hate?
-
SQL Query Strategy for complex structs
bun and go-pg both seem to work fairly well for these kind of purposes.
- Go for Backend development
-
How much do you agree completely switching from Java to Go? I have total 9yrs of experience in Java but now I am interested in Go.
gorm.io/gorm`, or `github.com/go-pg/pg` if you need something more feature-rich. I would avoid using `go-kit` and `go-micro` "frameworks" unless you have some special requirement for it. But you can take a look to have an idea of what Go "framework" may look like.
What are some alternatives?
When comparing reform and go-pg you can also consider the following projects:
GORM - The fantastic ORM library for Golang, aims to be developer friendly
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
ent - An entity framework for Go
SQLBoiler - Generate a Go ORM tailored to your database schema.
sqlx - general purpose extensions to golang's database/sql
gorp - Go Relational Persistence - an ORM-ish library for Go
bun - SQL-first Golang ORM
beego orm
Xorm
crunchy-proxy - PostgreSQL Connection Proxy by Crunchy Data (beta)