go-slices
Process typed Go slices via generics and higher-order functions. (by tideland)
scan
Scan provides the ability to to scan sql rows directly to any defined structure. (by stephenafamo)
Our great sponsors
go-slices | scan | |
---|---|---|
2 | 5 | |
8 | 65 | |
- | - | |
3.2 | 4.3 | |
11 months ago | 6 months ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
go-slices
Posts with mentions or reviews of go-slices.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-20.
-
Convenient slice handling with generics? See Tideland Go Slices
https://github.com/tideland/go-slices for the code.
-
Have you used generics?
Just releasing a flexible package for the management of slices, see https://github.com/tideland/go-slices. Especially data collections may use generics in a helpful and positive way.
scan
Posts with mentions or reviews of scan.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-18.
-
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.
What are some alternatives?
When comparing go-slices and scan you can also consider the following projects:
genericset - simple map-based implementation of generic set in go
graph - A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
be - The Go test helper for minimalists
bob - SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite
fakedb - fakedb registers a fake database driver named test for... testing.
infra - Infra provides authentication and access management to servers and Kubernetes clusters.
scan - scan sql rows into any type powered by generics
warg - Declarative and Intuitive Command Line Apps with Go
sqlx - general purpose extensions to golang's database/sql