kala-go
bun
kala-go | bun | |
---|---|---|
4 | 18 | |
29 | 3,149 | |
- | 7.7% | |
0.0 | 7.9 | |
about 1 year ago | 7 days ago | |
TypeScript | Go | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" 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.
kala-go
- Show HN: Open-source authorization service based on Google-Zanzibar
-
Zanzibar-like authorization framework written in Go
Hello, this is my attempt to write a Zanzibar-like system in Go + React. Here is the link to the github repo and the link to the website: https://kala.andreisurugiu.com/ (not mobile friendly, Monaco Editor doesn't play nice with mobile).
-
What SQL library are you using?
Can highly recommend Ent, I've used to build a Google Zanzibar clone and it was awesome to work with. https://github.com/DeluxeOwl/kala-go
bun
-
ORM or no ORM (and which ones)?
This way: https://github.com/uptrace/bun, I prefer in all cases with PostgreSQL
- When creating an API (or even a website) what's the best practice of initializing a database connection and using it across the application where it's necessary?
-
Best packages?
https://github.com/uptrace/bun For SQL building.
-
Which ORM framework are you using with golang, and why?
I use Bun by Uptrace - https://github.com/uptrace/bun
-
What’s your preferred setup to work with SQL DB (without ORM) ?
Though, i've would give a try to bun
-
What SQL library are you using?
Bun would be my choice, it spans a nice gap between full ORM and query builder - https://github.com/uptrace/bun
- Bun – SQL-first Golang ORM for PostgreSQL, MySQL, mssql, and SQLite
-
Bun: SQL-first Golang ORM
To get started, see the documentation and run examples.
-
SQL Query Strategy for complex structs
bun and go-pg both seem to work fairly well for these kind of purposes.
- Bun v1.1 SQL client adds supports for MSSQL
What are some alternatives?
permify - Open source authorization service inspired by Google Zanzibar to build fine-grained and scalable authorization systems.
GORM - The fantastic ORM library for Golang, aims to be developer friendly
spicedb - Open Source, Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications
ent - An entity framework for Go
go-sqlite-lite - SQLite driver for the Go programming language
go-pg - Golang ORM with focus on PostgreSQL features and performance
connector-postgresql - Import PostgreSQL foreign key relationships into SpiceDB
sqlc - Generate type-safe code from SQL
Ory Keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.
prisma-client-go - Prisma Client Go is an auto-generated and fully type-safe database client
jet - Type safe SQL builder with code generation and automatic query result data mapping
Squirrel - Fluent SQL generation for golang