Versions in this module Expand all Collapse all v0 v0.1.0 Apr 22, 2020 Changes in this version + func InferFields(t reflect.Type) map[string]Type + func ParseValue(t Type, s string) (interface{}, error) + type Reader struct + func NewReader(r io.Reader, schema Schema) *Reader + func (r *Reader) Read(data []byte) (int, error) + func (r *Reader) ReadMap() (map[string]interface{}, error) + func (r *Reader) SetIndent(prefix, indent string) + type Schema struct + Fields map[string]Type + Strict bool + func (s *Schema) Set(value string) error + func (s Schema) Parse(key, value string) (interface{}, error) + func (s Schema) String() string + func (s Schema) Valid(key string) bool + type Type int + const BoolType + const DurationType + const NumberType + const StringType + const TimeType + func ParseType(s string) (Type, error) + func (t Type) String() string