sliceof

package
v0.9.1 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: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any []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 []bool

func (Bool) GetBool

func (x Bool) GetBool(key string) bool

func (*Bool) SetBool

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

type Float

type Float []float64

func (Float) GetFloat

func (x Float) GetFloat(key string) float64

func (*Float) SetFloat

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

type Int

type Int []int

func (Int) GetInt

func (x Int) GetInt(key string) int

func (*Int) SetInt

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

type Int64

type Int64 []int64

func (Int64) GetInt64

func (x Int64) GetInt64(key string) int64

func (*Int64) SetInt64

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

type String

type String []string

func (String) GetString

func (x String) GetString(key string) string

func (*String) SetString

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

type Type added in v0.9.1

type Type[T any] []T

func (Type[T]) GetAny added in v0.9.1

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

func (Type[T]) GetBool added in v0.9.1

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

func (*Type[T]) GetChild added in v0.9.1

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

func (Type[T]) GetFloat added in v0.9.1

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

func (Type[T]) GetInt added in v0.9.1

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

func (Type[T]) GetInt64 added in v0.9.1

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

func (Type[T]) GetString added in v0.9.1

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

func (*Type[T]) SetAny added in v0.9.1

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

func (*Type[T]) SetBool added in v0.9.1

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

func (*Type[T]) SetFloat added in v0.9.1

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

func (*Type[T]) SetInt added in v0.9.1

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

func (*Type[T]) SetInt64 added in v0.9.1

func (x *Type[T]) SetInt64(key string, value int64) bool

func (*Type[T]) SetString added in v0.9.1

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

Jump to

Keyboard shortcuts

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