Versions in this module Expand all Collapse all v1 v1.0.1 Nov 29, 2023 Changes in this version + const TypeColor + const TypeEnd + const TypeFloat32 + const TypeInt32 + const TypeInt64 + const TypeNone + const TypePointer + const TypeString + const TypeUint64 + const TypeWideString + var ErrWideString = errors.New("WideString not supported") + func IsBinary(b []byte) bool + type KeyValue struct + Children []KeyValue + Key string + Value string + func FromMap(m map[string]interface{}) KeyValue + func ReadBytes(b []byte) (kv KeyValue, err error) + func ReadFile(path string) (kv KeyValue, err error) + func (kv *KeyValue) HasChild(key string) bool + func (kv *KeyValue) SetChild(value KeyValue) + func (kv *KeyValue) SortChildren() + func (kv KeyValue) GetChild(key string) (child KeyValue, found bool) + func (kv KeyValue) GetChildrenAsMap() (ret map[string]string) + func (kv KeyValue) GetChildrenAsSlice() (ret []string) + func (kv KeyValue) String() string + func (kv KeyValue) ToMapInner() (m map[string]interface{}) + func (kv KeyValue) ToMapOuter() (m map[string]interface{}) + type Token struct + Type TokenType + Value string + type TokenType byte + const TokenTypeChildEnd + const TokenTypeChildStart + const TokenTypeString