Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
bqb
BQB is a lightweight and easy to use query builder that works with sqlite, mysql, mariadb, postgres, and others.
Gorm is a orn not a api framework. Api frameworks consist of gin, echo, and a few others I can’t name off my head. If you’re looking for a orm(something to simplify the queries you’re building. I would suggest bun or sqlc both are very light weight and fast.
or in general for accessing databases? * sqlx: general purpose extensions to database/sql * sqlc: generate type safe code from queries * squirrel: fluent SQL generator
I'm using gorm for rapid development. But I just use the Gorm query builder and combine it with https://github.com/pressly/goose
You mean like ORMs? * sqlboiler: generates Go ORM using database schema.
or in general for accessing databases? * sqlx: general purpose extensions to database/sql * sqlc: generate type safe code from queries * squirrel: fluent SQL generator
regarding migrations? * migrate
I' see that I'm also set to check out BadgerDB next. https://github.com/dgraph-io/badger
If u/matimuszynianka is using Postgres for the backend, github.com/jackc/pgx is a fantastic utility. You can use it with vanilla types, or you can use the github.com/jackc/pgx/v5/pgtype library with it, for dealing with nullable columns.
Plug for bqb as a query builder, but there's also squirrel which works pretty well too.