migrations
upper.io/db
Our great sponsors
migrations | upper.io/db | |
---|---|---|
2 | 6 | |
307 | 3,479 | |
0.3% | 0.9% | |
0.0 | 5.1 | |
6 months ago | about 2 months ago | |
Go | Go | |
BSD 2-clause "Simplified" License | MIT 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.
migrations
-
Migrations
With database created, we also need to create tables in which our data will be store. And best way to do that is using migrations. We will be using go-pg/migrations module. On GitHub page you can find basic installation and usage guide, and we will use that. Let's start by creating new directory migrations/ inside of project root and file file migrations/main.go:
-
Go Tools: For database schema migrations
github.com/go-pg/migrations: Package (Explicit SQL),
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
https://github.com/upper/db
https://upper.io/
-
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
What are some alternatives?
tern - The SQL Fan's Migrator
GORM - The fantastic ORM library for Golang, aims to be developer friendly
gobuffalo/pop - A Tasty Treat For All Your Database Needs
ent - An entity framework for Go
videos - Slides and examples used for my training videos
SQLBoiler - Generate a Go ORM tailored to your database schema.
go-pg - Golang ORM with focus on PostgreSQL features and performance
xorm - xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
retool - Retool: a better filter tool for Redump and No-Intro DAT files.
Xorm
gorp - Go Relational Persistence - an ORM-ish library for Go