record

package module
v0.0.0-...-10fb900 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 3 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record map[string]any

Record stores mixed scalar data (Boolean, numeric, and string) and provides type-safe methods to retrieve it. It automatically casts values where possible.

https://go.dev/ref/spec#Types

func (Record) Bool

func (r Record) Bool(column string) bool

func (Record) BoolSafe

func (r Record) BoolSafe(column string) (bool, bool)

func (Record) Byte

func (r Record) Byte(column string) byte

func (Record) ByteSafe

func (r Record) ByteSafe(column string) (byte, bool)

func (Record) Float32

func (r Record) Float32(column string) float32

func (Record) Float32Safe

func (r Record) Float32Safe(column string) (float32, bool)

func (Record) Float64

func (r Record) Float64(column string) float64

func (Record) Float64Safe

func (r Record) Float64Safe(column string) (float64, bool)

func (Record) Has

func (r Record) Has(column string) bool

func (Record) Int

func (r Record) Int(column string) int

func (Record) Int16

func (r Record) Int16(column string) int16

func (Record) Int16Safe

func (r Record) Int16Safe(column string) (int16, bool)

func (Record) Int32

func (r Record) Int32(column string) int32

func (Record) Int32Safe

func (r Record) Int32Safe(column string) (int32, bool)

func (Record) Int64

func (r Record) Int64(column string) int64

func (Record) Int64Safe

func (r Record) Int64Safe(column string) (int64, bool)

func (Record) IntSafe

func (r Record) IntSafe(column string) (int, bool)

func (Record) String

func (r Record) String(column string) string

func (Record) StringSafe

func (r Record) StringSafe(column string) (string, bool)

func (Record) TypeOf

func (r Record) TypeOf(column string) (reflect.Type, bool)

func (Record) Uint

func (r Record) Uint(column string) uint

func (Record) Uint8

func (r Record) Uint8(column string) uint8

func (Record) Uint8Safe

func (r Record) Uint8Safe(column string) (uint8, bool)

func (Record) Uint16

func (r Record) Uint16(column string) uint16

func (Record) Uint16Safe

func (r Record) Uint16Safe(column string) (uint16, bool)

func (Record) Uint32

func (r Record) Uint32(column string) uint32

func (Record) Uint32Safe

func (r Record) Uint32Safe(column string) (uint32, bool)

func (Record) Uint64

func (r Record) Uint64(column string) uint64

func (Record) Uint64Safe

func (r Record) Uint64Safe(column string) (uint64, bool)

func (Record) UintSafe

func (r Record) UintSafe(column string) (uint, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL