|28 days ago||over 1 year ago|
|BSD 2-clause "Simplified" License||Apache License 2.0|
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.
What SQL library are you using?
20 projects | reddit.com/r/golang | 2 Jul 2022
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?
6 projects | reddit.com/r/node | 3 Apr 2022
SQL Query Strategy for complex structs
9 projects | reddit.com/r/golang | 6 Mar 2022
bun and go-pg both seem to work fairly well for these kind of purposes.
Go for Backend development
4 projects | reddit.com/r/golang | 6 Sep 2021
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.
3 projects | reddit.com/r/golang | 18 Apr 2021
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.
GCP Cloud SQL Migration without outage?
2 projects | reddit.com/r/sre | 17 Dec 2021
This is why I always recommend using a postgres proxy so you can point it to different database servers as you stand them up. AWS does this by default but GCP doesn’t yet, so you have to have your own Postgres proxy (e.g https://github.com/CrunchyData/crunchy-proxy) or move to an HA Postgres setup like Patroni that has streaming replication (https://github.com/zalando/patroni).
What are some alternatives?
GORM - The fantastic ORM library for Golang, aims to be developer friendly
SQLBoiler - Generate a Go ORM tailored to your database schema.
ent - An entity framework for Go
sqlx - general purpose extensions to golang's database/sql
gorp - Go Relational Persistence - an ORM-ish library for Go
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
go-queryset - 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.
godb - A Go SQL query builder and struct mapper.
Storm - Simple and powerful toolkit for BoltDB