collection

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamedArray

type NamedArray struct {
	// contains filtered or unexported fields
}

func NewNamedArray

func NewNamedArray(data interface{}) (*NamedArray, bool)

func (*NamedArray) Get

func (n *NamedArray) Get(key string) (interface{}, bool)

func (*NamedArray) Index

func (n *NamedArray) Index(index int) (interface{}, bool)

func (*NamedArray) Iterate

func (n *NamedArray) Iterate() *NamedArrayIterator

func (*NamedArray) Len

func (n *NamedArray) Len() int

func (*NamedArray) Set

func (n *NamedArray) Set(key string, value interface{})

func (*NamedArray) ToArray

func (n *NamedArray) ToArray() []interface{}

type NamedArrayIterator

type NamedArrayIterator struct {
	// contains filtered or unexported fields
}

func (*NamedArrayIterator) Key

func (n *NamedArrayIterator) Key() string

func (*NamedArrayIterator) Next

func (n *NamedArrayIterator) Next() bool

func (*NamedArrayIterator) Value

func (n *NamedArrayIterator) Value() interface{}

Jump to

Keyboard shortcuts

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