Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoValueError = errors.New("No value for this key")
Functions ¶
This section is empty.
Types ¶
type OrderedMap ¶
type OrderedMap struct {
// contains filtered or unexported fields
}
func New ¶
func New() *OrderedMap
func NewFromMap ¶
func NewFromMap(m map[string]interface{}) (*OrderedMap, error)
func (*OrderedMap) Delete ¶
func (o *OrderedMap) Delete(key string)
func (*OrderedMap) Get ¶
func (o *OrderedMap) Get(key string) (interface{}, bool)
func (*OrderedMap) Keys ¶
func (o *OrderedMap) Keys() []string
func (OrderedMap) MarshalJSON ¶
func (o OrderedMap) MarshalJSON() ([]byte, error)
func (*OrderedMap) Set ¶
func (o *OrderedMap) Set(key string, value interface{})
func (*OrderedMap) UnmarshalJSON ¶
func (o *OrderedMap) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.