Versions in this module Expand all Collapse all v0 v0.1.2 Feb 9, 2016 Changes in this version + type Detail struct + Key string + Value *Value + func (d *Detail) String() string + type ErrLine struct + Err error + N int + func (e ErrLine) Error() string + type Group struct + Details Lines + Filename string + Requests []*Request + Title []byte + func Parse(filename string, r io.Reader) ([]*Group, error) + func ParseFile(files ...string) ([]*Group, error) + type Line struct + Bytes []byte + Number int + Regexp *regexp.Regexp + Type LineType + func ParseLine(n int, text []byte) (*Line, error) + func (l *Line) Detail() *Detail + func (l *Line) String() string + type LineType int8 + const LineTypeCodeBlock + const LineTypeDetail + const LineTypeGroupHeading + const LineTypeParam + const LineTypePlain + const LineTypeRequest + const LineTypeSeparator + func (l LineType) String() string + type Lines []*Line + func (l Lines) Join() []byte + func (l Lines) Number() int + func (l Lines) Reader() io.Reader + func (l Lines) String() string + type Request struct + Body Lines + Details Lines + ExpectedBody Lines + ExpectedDetails Lines + Method []byte + Params Lines + Path []byte + type Value struct + Data interface{} + func ParseValue(src []byte) *Value + func (v Value) Equal(val interface{}) bool + func (v Value) String() string + func (v Value) Type() string