|about 1 month ago||16 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.
ORM or no ORM (and which ones)?
17 projects | reddit.com/r/golang | 17 Jan 2023
https://github.com/jmoiron/sqlx and github.com/lib/pq are pretty solid, this is what i go to.
Does Go need overcoding for tasks that other languages can execute in one liners (or with less code)?
6 projects | reddit.com/r/golang | 14 Nov 2022
The amount of packages imported is kind of a thing I want to remove. There is, for example, MySQL package but I use PG. Also, for many things I need sqlx, sometimes database/sql + carta. I would love to standardize all my database handling to make it simple, concise, and efficient;
Creating an API using Go and sqlc
5 projects | dev.to | 24 Oct 2022
Implement the Repository interface by writing the queries in code, perhaps using some solution like Squirrel or sqlx.
How do you handle scanning of db.Rows?
2 projects | reddit.com/r/golang | 17 Oct 2022
Hey, have you looked at sqlx?
Restful API with Golang practical approach
9 projects | dev.to | 17 Oct 2022
sqlx: sqlx is a library which provides a set of extensions on go's standard database/sql library. (https://github.com/jmoiron/sqlx)
11 projects | reddit.com/r/golang | 16 Oct 2022
sqlx for database connections. It allows scanning into structs which saves a lot of time and is easier to use.
Go w/ MSSQL - Experiences?
9 projects | reddit.com/r/golang | 9 Oct 2022
I typically use sqlx to deal with query results.
Dapper-like ORM, Mapping
9 projects | reddit.com/r/golang | 6 Oct 2022
Beyond that, as others have suggested, sqlx is very close to dapper in terms of functionality. It’s not generic, but generics don’t actually get you anything here except dapper will instantiate the types for you while with sqlx you have to do it yourself. Under the hood, both must use reflection to map fields.9 projects | reddit.com/r/golang | 6 Oct 2022
You could try https://github.com/jmoiron/sqlx. Not sure it will satisfy your usecase to the point, but it is easy to work with wrapper of database/sql and provides some nice mappings. Take a look at https://jmoiron.github.io/sqlx/ for some more advanced use cases than just githubs README.
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.
What are some alternatives?
pgx - PostgreSQL driver and toolkit for Go
GORM - The fantastic ORM library for Golang, aims to be developer friendly
sqlc - Generate type-safe code from SQL
gomock - GoMock is a mocking framework for the Go programming language.
Squirrel - Fluent SQL generation for golang
go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
SQLBoiler - Generate a Go ORM tailored to your database schema.
ent - An entity framework for Go
migrate - Database migrations. CLI and Golang library.
go-sqlite3 - sqlite3 driver for go using database/sql