Documentation ¶
Index ¶
- type OrderedMap
- func (t *OrderedMap) Add(v interface{}) bool
- func (t OrderedMap) Exist(v interface{}) bool
- func (t OrderedMap) IsEmpty() bool
- func (t *OrderedMap) Len() int
- func (t OrderedMap) Map() map[interface{}]bool
- func (t OrderedMap) MarshalJSON() ([]byte, error)
- func (t *OrderedMap) Remove(v interface{}) bool
- func (t OrderedMap) Slice() []interface{}
- func (t *OrderedMap) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderedMap ¶
type OrderedMap struct {
// contains filtered or unexported fields
}
func New ¶
func New(vs ...interface{}) (t OrderedMap)
func (*OrderedMap) Add ¶
func (t *OrderedMap) Add(v interface{}) bool
func (OrderedMap) Exist ¶
func (t OrderedMap) Exist(v interface{}) bool
func (OrderedMap) IsEmpty ¶
func (t OrderedMap) IsEmpty() bool
func (*OrderedMap) Len ¶
func (t *OrderedMap) Len() int
func (OrderedMap) Map ¶
func (t OrderedMap) Map() map[interface{}]bool
func (OrderedMap) MarshalJSON ¶
func (t OrderedMap) MarshalJSON() ([]byte, error)
func (*OrderedMap) Remove ¶
func (t *OrderedMap) Remove(v interface{}) bool
func (OrderedMap) Slice ¶
func (t OrderedMap) Slice() []interface{}
func (*OrderedMap) UnmarshalJSON ¶
func (t *OrderedMap) UnmarshalJSON(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.