Scan by blockloop
Tiny lib to scan SQL rows directly to structs, slices, and primitive types
About Scan
From the project's README at github.com/blockloop/scan. Lightly cleaned for readability; for the full source see the upstream repo.
> [!NOTE] > For all intents and purposes, this project is considered 'complete.' I do not plan on making any changes in the near future and have not written any code here since approximately 2021. To the best of my knowledge, everything functions as intended. If you are seeking a more comprehensive solution, please refer to https://github.com/stytchauth/sqx. That being said, this project operates effectively in its current state and requires no new code. Feel free to fork it and continue development if desired. >
[](https://godoc.org/github.com/blockloop/scan) [](https://github.com/blockloop/scan/actions) [](https://coveralls.io/github/blockloop/scan) [](https://goreportcard.com/report/github.com/blockloop/scan)
Scan standard lib database rows directly to structs or slices. For the most comprehensive and up-to-date docs see the godoc Examples Multiple Rows ```go db, err := sql.Open("sqlite3", "database.sqlite") rows, err := db.Query("SELECT * FROM persons")
fmt.Printf("%#v", persons) // []Person{ // {ID: 1, Name: "bret
Health score breakdown
6-dimension composite. See methodology for formula and weights.
Adoption signals
Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.
| Signal | Value | Source |
|---|---|---|
| GitHub stars | 612 | github.com/blockloop/scan |
| GitHub forks | 32 | github.com/blockloop/scan |
Release & maintenance
Is this project actively maintained, or about to die? Check the recency of last commit and last release.
| Project age | 8.4 years | since Nov 2017 |
| Last commit | 27 days ago | Apr 10, 2026 |
| Releases shipped | 8 | last: 2.7 years ago |
Self-hosting cost across providers
Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.
| Provider | Plan | Specs | Monthly | |
|---|---|---|---|---|
| hetzner | CAX11 | 2c · 4GB · 40GB | $4.13 USD | Deploy → |
| vultr | VC2 | 1c · 1GB · 25GB | $5 USD | Deploy → |
| linode | Nanode 1GB | 1c · 1GB · 25GB | $5.12 USD | Deploy → |
| digitalocean | Basic Regular 1GB | 1c · 1GB · 25GB | $6 USD | Deploy → |
What people say on Hacker News
- Ask HN: How do you deal with color blindness?
- Show HN: Download and open 3GPP specs – LTE, 5G, 6G from your Chrome side panel
- The Chinese Realtime Deepfake Software Powering Scams Around the World
- Tests confirm tilapia in mackerel cans
- Consuming too much AI can be bad. Data on 'tokenmaxxing' reveals a better way
Ready to self-host Scan?
Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.
Data last refreshed May 7, 2026.
Similar open-source projects
Projects in our directory that replace the same SaaS or share topics with Scan.