mapof

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any map[string]any

func (Any) GetAny

func (x Any) GetAny(key string) any

func (Any) GetBool

func (x Any) GetBool(key string) bool

func (*Any) GetChild

func (x *Any) GetChild(key string) (any, bool)

func (Any) GetFloat

func (x Any) GetFloat(key string) float64

func (Any) GetInt

func (x Any) GetInt(key string) int

func (Any) GetInt64

func (x Any) GetInt64(key string) int64

func (Any) GetString

func (x Any) GetString(key string) string

func (*Any) SetAny

func (x *Any) SetAny(key string, value any) bool

func (*Any) SetBool

func (x *Any) SetBool(key string, value bool) bool

func (*Any) SetFloat

func (x *Any) SetFloat(key string, value float64) bool

func (*Any) SetInt

func (x *Any) SetInt(key string, value int) bool

func (*Any) SetInt64

func (x *Any) SetInt64(key string, value Int64) bool

func (*Any) SetString

func (x *Any) SetString(key string, value string) bool

type Bool

type Bool map[string]bool

func (Bool) GetBool

func (x Bool) GetBool(key string) bool

func (*Bool) SetBool

func (x *Bool) SetBool(key string, value bool) bool

type Float

type Float map[string]float64

func (Float) GetFloat

func (x Float) GetFloat(key string) float64

func (*Float) SetFloat

func (x *Float) SetFloat(key string, value float64) bool

type Generic

type Generic[T any] map[string]T

func (Generic[T]) GetAny

func (x Generic[T]) GetAny(key string) any

func (Generic[T]) GetBool

func (x Generic[T]) GetBool(key string) bool

func (*Generic[T]) GetChild

func (x *Generic[T]) GetChild(key string) (any, bool)

func (Generic[T]) GetFloat

func (x Generic[T]) GetFloat(key string) float64

func (Generic[T]) GetInt

func (x Generic[T]) GetInt(key string) int

func (Generic[T]) GetInt64

func (x Generic[T]) GetInt64(key string) int64

func (Generic[T]) GetString

func (x Generic[T]) GetString(key string) string

func (*Generic[T]) SetAny

func (x *Generic[T]) SetAny(key string, value any) bool

func (*Generic[T]) SetBool

func (x *Generic[T]) SetBool(key string, value bool) bool

func (*Generic[T]) SetFloat

func (x *Generic[T]) SetFloat(key string, value float64) bool

func (*Generic[T]) SetInt

func (x *Generic[T]) SetInt(key string, value int) bool

func (*Generic[T]) SetInt64

func (x *Generic[T]) SetInt64(key string, value Int64) bool

func (*Generic[T]) SetString

func (x *Generic[T]) SetString(key string, value string) bool

type Int

type Int map[string]int

func (Int) GetInt

func (x Int) GetInt(key string) int

func (*Int) SetInt

func (x *Int) SetInt(key string, value int) bool

type Int64

type Int64 map[string]int64

func (Int64) GetInt64

func (x Int64) GetInt64(key string) int64

func (*Int64) SetInt64

func (x *Int64) SetInt64(key string, value int64) bool

type String

type String map[string]string

func (String) GetString

func (x String) GetString(key string) string

func (*String) SetString

func (x *String) SetString(key string, value string) bool

Jump to

Keyboard shortcuts

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