scan
bob
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.
scan
-
Bob v0.15.0: Go SQL Access Toolkit (New Documentation Website)
SQL Executor for convenient scanning of results. It is built on the scan package.
- Scan: Scan SQL rows directly to any defined structure. Now with PGX support.
-
Decent examples querying models from Postgres
Personally, I created a scanning package specifically for this based on generics and even more flexibility, still needs a bit more documentation, but check it out Scan.
- Have you used generics?
-
Extracted from the standard library: FakeDB
For example, I've been working on a db scanning package, and it is important to test scanning from a database.
bob
-
how to avoid writing dreadful SQL statements
Use something that does codegen, like sqlc or Bob.
-
Golang RESTAPI boilerplate repository
Also hout out to https://github.com/stephenafamo/bob
-
Go famous/standard frameworks and libraries ?
If you want to read the schema from the DB, use Bob. https://github.com/stephenafamo/bob
-
Synchronize / generate enums from a SQL table
Generation for enums is done if you use Bob to generate your ORM.
-
How do you define your database schema?
Bob (https://github.com/stephenafamo/bob) generates models for a database schema, and for ease of use, I think it makes sense to be able to work with whatever format the schema is defined with.
-
Golang tech stack
Bob ORM for DB access
-
What framework to build heavy i/o rest api?
For an ORM recommendation, I'm heavily biased towards Bob (https://github.com/stephenafamo/bob) since I created it.
-
Bob v0.16.0: Generate from Atlas schema files
Website
-
Comparing Bob to other ORMs
Bob's GitHub Repository
-
I want to participate in a golang open source projects. Have any suggestions or recommendations?
I would definitely appreciate contributions to Bob: https://github.com/stephenafamo/bob
What are some alternatives?
graph - A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
pgroll - PostgreSQL zero-downtime migrations made easy
be - The Go test helper for minimalists
go-ora - Pure go oracle client
fakedb - fakedb registers a fake database driver named test for... testing.
genericset - simple map-based implementation of generic set in go
golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
infra - Infra provides authentication and access management to servers and Kubernetes clusters.
uuid - A UUID package originally forked from github.com/satori/go.uuid
scan - scan sql rows into any type powered by generics
atlas - Manage your database schema as code