Versions in this module Expand all Collapse all v0 v0.8.0 Nov 15, 2023 Changes in this version type Res + ParamsArray []map[string]interface{} v0.7.0 Oct 30, 2020 Changes in this version type Req + Body string + Type Type + type Type int + const FORM + const JSON + const RAW v0.6.0 May 13, 2019 v0.5.0 Apr 8, 2019 v0.4.0 Apr 1, 2019 v0.3.0 Mar 12, 2019 Changes in this version type Test + Register string v0.2.0 Jan 29, 2019 Changes in this version + const RouterFuncName + func PackageName(fs afero.Fs, gopath string, path string) (string, error) type Generator + Program *loader.Program + RouterFuncs []*RouterFunc + type RouterFunc struct + Name string + PackagePath string type TestFunc + RouterFunc *RouterFunc + RouterFuncName string v0.1.0 Jan 17, 2019 Changes in this version + type Generator struct + OutputDir string + Template string + TemplateDir string + TestFuncs TestFuncs + TestFuncsPerAPIVersion map[string]TestFuncs + Yaml string + func (g *Generator) Generate() error + func (g *Generator) ParseYaml() error + type Req struct + Headers map[string]string + Params map[string]interface{} + type Res struct + Headers map[string]string + Params map[string]interface{} + Status int + type Subtest struct + APIVersions []string + Name string + Tests []Test + type Subtests []Subtest + func (t Subtests) IsSubtests() bool + type Test struct + APIVersions []string + Method string + Path string + Req Req + Res Res + Vars map[string]interface{} + func (t Test) IsSubtests() bool + type TestFunc struct + APIVersions []string + Name string + Tests []Tester + Vars map[string]interface{} + type TestFuncs []TestFunc + type Tester interface + IsSubtests func() bool