import "github.com/byte-mug/goconfig" var EReflectDecodeValueError = errors.New("EReflectDecodeValueError")
Internal use only.
func Parse(b []byte, ch ContentHandler) error
-
type ContentHandler interface {
StartElement(clazz, word []byte) ContentHandler
EndElement()
KeyValuePair(key, value []byte)
}
-
func CreateReflectHandler(i interface{}) ContentHandler
-
func DefaultContentHandler() ContentHandler
-
type DeComment struct{}
* This type exists, to test the string removal function.
* Do not use this type or it's methods to pre-process the input for the parser,
* because, the parser does this on its own.
func (d DeComment) OfBytes(s []byte) []byte
-
func (d DeComment) OfString(s string) string
-
import "encoding"import "errors"import "fmt"import "reflect"import "regexp"import "strconv"import "strings"| Path | Synopsis |
|---|---|
| datatypes/ |