Versions in this module Expand all Collapse all v0 v0.1.2 Sep 19, 2026 v0.1.1 Sep 19, 2026 v0.1.0 Sep 17, 2026 Changes in this version + var KnownDirectives = map[string]string + func Parse(path, content string) (*File, []Diagnostic) + func ParseFile(path string) (*File, []Diagnostic, error) + type Assert struct + Expr string + Line int + type Capture struct + Line int + Name string + Selector string + type Diagnostic struct + Line int + Message string + Path string + Severity string + func (d Diagnostic) String() string + type Directive struct + Key string + Line int + Value string + type File struct + Path string + Requests []*Request + Vars []Var + type Header struct + Name string + Value string + type Request struct + Asserts []Assert + Body string + BodyFile string + BodyFileTemplated bool + Captures []Capture + Description string + Directives []Directive + File *File + HTTPVersion string + Headers []Header + Index int + Line int + Method string + Name string + Title string + URL string + func (r *Request) Directive(key string) (string, bool) + func (r *Request) ID() string + func (r *Request) Steps() []string + type Var struct + Line int + Name string + Value string