Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameValueItem ¶
type NameValueItem struct { Name string `json:"name"` Value interface{} `json:"value"` }
NameValueItem represents a data type with a name and a value.
type OrderedSet ¶
type OrderedSet struct { Values []string // contains filtered or unexported fields }
OrderedSet represents an ordered set. TODO: make it a true **Ordered** set.
func (*OrderedSet) Add ¶
func (o *OrderedSet) Add(item string)
Add adds a new item into the ordered set.
func (*OrderedSet) Init ¶
func (o *OrderedSet) Init(items ...string)
Init creates a new OrderedSet instance, and adds any given items into this set.
Click to show internal directories.
Click to hide internal directories.