Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Iterator ¶
Iterator iterates through keys and values of a map
type Pair ¶
type Pair struct { Key interface{} Value interface{} }
Pair represents a single pair of key and value from a map
type Visitor ¶
type Visitor interface {
Visit(interface{}, interface{}) error
}
Visitor represents an object that handles each pair in a map
type VisitorFunc ¶
type VisitorFunc func(interface{}, interface{}) error
VisitorFunc is a type of Visitor based on a function
func (VisitorFunc) Visit ¶
func (fn VisitorFunc) Visit(s interface{}, v interface{}) error
Click to show internal directories.
Click to hide internal directories.