custom

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[string]any

func NewMap

func NewMap() Map

func (*Map) Add

func (v *Map) Add(key string, value any)

Adds Value to map

func (*Map) Delete

func (v *Map) Delete(key string)

Deletes value if desired

func (*Map) Scan

func (v *Map) Scan(value interface{}) error

Scanner/Valuer interface implementation

func (Map) Value

func (v Map) Value() (driver.Value, error)

func (*Map) Values

func (v *Map) Values() Map

Returns Values to caller

type Slice

type Slice []any

func (*Slice) Append

func (s *Slice) Append(values ...any)

func (*Slice) Scan

func (s *Slice) Scan(value interface{}) error

Scanner/Valuer interface implementation

func (Slice) Value

func (s Slice) Value() (driver.Value, error)

func (*Slice) Values

func (s *Slice) Values() Slice

Returns Values to caller

Jump to

Keyboard shortcuts

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