This repository has been archived on 2026-09-07 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
2026-09-07 13:08:38 +01:00
> [!IMPORTANT]
> **This repository is archived and no longer maintained.**
>
> `Record` is a convenience layer over `map[string]any`. The type coercion
> it provides is covered more completely by existing libraries, and scanning
> into structs is usually the better approach.
>
> **Use instead:**
> - [`github.com/spf13/cast`](https://github.com/spf13/cast) — `cast.ToIntE`, `cast.ToStringE`, etc. for coercing an `any` to a concrete type.
> - [`github.com/jmoiron/sqlx`](https://github.com/jmoiron/sqlx) or plain `database/sql` struct scanning when the source is SQL rows.
---
2026-07-04 01:42:34 +01:00
# Go Record
Record stores mixed scalar data (Boolean, numeric, and string) and provides type-safe methods to retrieve it. It automatically casts values where possible.
## License
See [LICENSE.md ](./LICENSE.md )