value

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value interface {
	Int() int
	Int8() int8
	Int16() int16
	Int32() int32
	Int64() int64
	Uint() uint
	Uint8() uint8
	Uint16() uint16
	Uint32() uint32
	Uint64() uint64
	Float32() float32
	Float64() float64
	Rune() rune
	Bool() bool
	String() string
	Duration() time.Duration
	B() float64
	Ints() []int
	Int8s() []int8
	Int16s() []int16
	Int32s() []int32
	Int64s() []int64
	Uints() []uint
	Uint8s() []uint8
	Uint16s() []uint16
	Uint32s() []uint32
	Uint64s() []uint64
	Float32s() []float32
	Float64s() []float64
	Runes() []rune
	Bools() []bool
	Strings() []string
	Bytes() []byte
	Bs() []float64
	Durations() []time.Duration
	Slice() []any
	Map() map[string]any
	Scan(pointer any) error
	Value() any
	Kind() reflect.Kind
	IsBool() bool
	IsString() bool
	IsNumber() bool
	IsComplex() bool
	IsArray() bool
	IsMap() bool
	IsSlice() bool
	IsStruct() bool
	IsInterface() bool
}

func NewValue

func NewValue(v ...any) Value

Jump to

Keyboard shortcuts

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