structs

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONList

type JSONList []interface{}

func (*JSONList) LoadFromStringArray

func (a *JSONList) LoadFromStringArray(arr []string)

func (*JSONList) Scan

func (a *JSONList) Scan(value interface{}) error

func (*JSONList) ToInt64Array

func (a *JSONList) ToInt64Array() []int64

func (*JSONList) ToStringArray

func (a *JSONList) ToStringArray() []string

func (*JSONList) ToUint64Array

func (a *JSONList) ToUint64Array() []uint64

func (JSONList) Value

func (a JSONList) Value() (driver.Value, error)

type JSONMap

type JSONMap map[string]interface{}

func NewJSONMap

func NewJSONMap() JSONMap

func (*JSONMap) GetBool

func (a *JSONMap) GetBool(key string) bool

func (*JSONMap) GetFloat64

func (a *JSONMap) GetFloat64(key string) float64

func (*JSONMap) GetInt64

func (a *JSONMap) GetInt64(key string) int64

func (*JSONMap) GetMap

func (a *JSONMap) GetMap(key string) JSONMap

func (*JSONMap) GetString

func (a *JSONMap) GetString(key string) string

func (*JSONMap) Scan

func (a *JSONMap) Scan(value interface{}) error

func (*JSONMap) SetValue

func (a *JSONMap) SetValue(key string, value interface{})

func (JSONMap) Value

func (a JSONMap) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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