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{}
Click to show internal directories.
Click to hide internal directories.