|about 1 month ago||3 days ago|
|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.
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.
How do you handle nil/null values correctly
2 projects | reddit.com/r/golang | 25 Jan 2023
ORM or no ORM (and which ones)?
17 projects | reddit.com/r/golang | 17 Jan 2023
Hello, I want to communicate with a database in my go API. My API is for a website that allows you to track finances and budgets, so the reason I need a database is to store the user's expenses and allow them to search and find each one and which one is costing them the most. I also am going to implement login soon, but I don't think that matters for now. I'm now stuck on how to communicate with my database (Postgres). Should I go with an ORM like gorm, database/sql package, sqlx, or any others? Advice is appreciated
Web Development JWT Practices
5 projects | dev.to | 17 Nov 2022
For more information on Gorm's operation of MySQL, please refer to Gorm
High Performance Web Framework Tasting-Database Operations
3 projects | reddit.com/r/golang | 13 Nov 20225 projects | dev.to | 13 Nov 2022
Build REST API with Go Fiber and PlanetScale - Part 1
3 projects | dev.to | 19 Oct 2022
To access PlanetScale, we can use ORM from Go called Gorm, and since the PlanetScale database is built on top Vitess (MySQL), install the MySQL driver as well.
Dapper-like ORM, Mapping
9 projects | reddit.com/r/golang | 6 Oct 2022
Just my opinion, so it it for what it’s worth to you, but I haven’t been especially impressed with the ORM landscape in Go. I have tinkered with a few ORMs - I gave gorm a serious whirl a few months ago, but ended up ditching it in less than a month. If time is on your side, I’d strongly encourage you to experiment with what the standard library’s database/sql package has to offer.
Looking for some PgSQL infos
3 projects | reddit.com/r/golang | 3 Oct 2022
If it is to low-level for your liking maybe take a look at sqlx or even gorm.
using go-sqlmock with sqlite
2 projects | reddit.com/r/golang | 1 Oct 2022
Sigh... If you're using gorm V2, you need to pass a dialector to gorm.Open as the first parameter. See the V2 example here: https://github.com/go-gorm/gorm/issues/3565
Which framework and ORM should we choose?
6 projects | reddit.com/r/golang | 5 Sep 2022
Framework - Gin ORM - Gorm
What are some alternatives?
ent - An entity framework for Go
SQLBoiler - Generate a Go ORM tailored to your database schema.
pgx - PostgreSQL driver and toolkit for Go
gorp - Go Relational Persistence - an ORM-ish library for Go
sqlc - Generate type-safe code from SQL
xorm - xorm是一个简单而强大的Go语言ORM库，通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本，为xorm提供类似ibatis的配置文件及动态SQL支持，支持AcitveRecord操作
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
prisma-client-go - Prisma Client Go is an auto-generated and fully type-safe database client
bun - SQL-first Golang ORM