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.
archive-notice
This repository is being archived. Point readers at the standard-library or community package that replaces it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Important
This repository is archived and no longer maintained.
Recordis a convenience layer overmap[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—cast.ToIntE,cast.ToStringE, etc. for coercing ananyto a concrete type.github.com/jmoiron/sqlxor plaindatabase/sqlstruct scanning when the source is SQL rows.
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
Languages
Go
100%