w

package
v0.0.0-...-4e24f74 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WArray

type WArray []interface{}

func NewWArray

func NewWArray() *WArray

func (*WArray) Add

func (m *WArray) Add(value ...interface{})

func (*WArray) Array

func (m *WArray) Array() []interface{}

func (WArray) Get

func (m WArray) Get(i int) interface{}

func (*WArray) Length

func (m *WArray) Length() int

type WMap

type WMap map[string]interface{}

func ConvertByJSON

func ConvertByJSON(jsonString string) (*WMap, error)

func ConvertByMap

func ConvertByMap(i map[string]interface{}) WMap

func NewMap

func NewMap() *WMap

func ToMap

func ToMap(data interface{}) *WMap

func (WMap) Bool

func (m WMap) Bool() bool

func (WMap) Bytes

func (m WMap) Bytes() []byte

func (WMap) ContainsKey

func (m WMap) ContainsKey(key string) bool

func (WMap) Float32

func (m WMap) Float32() float32

func (WMap) Float64

func (m WMap) Float64() float64

func (WMap) Get

func (m WMap) Get(key string) interface{}

func (WMap) GetArrayMap

func (m WMap) GetArrayMap(key string) []WMap

func (WMap) GetBool

func (m WMap) GetBool(key string) bool

func (WMap) GetFloat32

func (m WMap) GetFloat32(key string) float32

func (WMap) GetFloat64

func (m WMap) GetFloat64(key string) float64

func (WMap) GetInt

func (m WMap) GetInt(key string) int

func (WMap) GetMap

func (m WMap) GetMap(key string) WMap

func (WMap) GetString

func (m WMap) GetString(key string) string

func (WMap) Int

func (m WMap) Int() int

func (WMap) Int32

func (m WMap) Int32() int32

func (WMap) Int64

func (m WMap) Int64() int64

func (WMap) Object

func (m WMap) Object() interface{}

func (WMap) Put

func (m WMap) Put(key string, value interface{}) WMap

func (WMap) PutValue

func (m WMap) PutValue(value interface{}) WMap

func (WMap) Size

func (m WMap) Size() int

func (WMap) String

func (m WMap) String() string

func (WMap) ToJSON

func (m WMap) ToJSON() (r []byte, err error)

func (WMap) ToString

func (m WMap) ToString() string

func (WMap) Type

func (m WMap) Type(key string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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