upper.io/db
go-pg
Our great sponsors
upper.io/db | go-pg | |
---|---|---|
6 | 9 | |
3,479 | 5,581 | |
0.9% | 0.7% | |
5.1 | 6.4 | |
about 1 month ago | about 1 month ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" License |
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.
upper.io/db
-
[Hiring] Remote Golang job: Senior Backend Engineer (Go) at Horizon (Toronto, Canada)
You 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.
-
Looking for some ORM/db access layer suggestions
You might want to give https://upper.io/ a try
-
Migrating from PHP to Go
upper.io is a viable alternative to GORM. Just a suggestion.
-
We Went All in on Sqlc/Pgx for Postgres and Go
this is the reason why I chose upper/db over pgx/sqlc for my current cockroachdb side project
while upper/db is not as type safe, with proper testing infrastructure, it's the closest to django due to its simplicity/composability/query building support
i'm also excited to see how upper/db grows after generics land in Go later this year
-
Has anybody moved from Django (python) to any of the Go backend frameworks?
So far, I've enjoyed using https://github.com/upper/db for raw query building.
- New advanced, CGo-free SQLite package
go-pg
-
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?
-
Clean Transactions in Golang Hexagon
And it is go-pg. I personally really like it as a query builder (rather than an ORM) and it has good performance. It has one feature which I'll tell you about next, without which I would have struggled to implement what I had in mind. But this feature is available in other libraries too, so don't rush to rewrite your code.
-
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
-
Connecting with database
For database communication we will use go-pg module. You can install it by running go get github.com/go-pg/pg/v10. This will install version 10 of go-pg module, which is latest version at the time of writing this guide. Now create new directory internal/database/ and file database.go inside of it.
-
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.
-
A Proposal for Adding Generics to Go
This one is mostly excellent: https://github.com/go-pg/pg
What are some alternatives?
GORM - The fantastic ORM library for Golang, aims to be developer friendly
ent - An entity framework for Go
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
SQLBoiler - Generate a Go ORM tailored to your database schema.
xorm - xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
Xorm
sqlx - general purpose extensions to golang's database/sql
gorp - Go Relational Persistence - an ORM-ish library for Go
bun - SQL-first Golang ORM