httptest

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func New

func New(opts *Options) *Generator

func (*Generator) Generate

func (g *Generator) Generate(pkgInfo *generator.PkgInfo, ifaceData *ifacetool.Data, testFilename string) (*generator.File, error)

type Import

type Import struct {
	Path  string `yaml:"path"`
	Alias string `yaml:"alias"`
}

type Options

type Options struct {
	Formatted bool
}

type TestSpec

type TestSpec struct {
	RawImports []string `yaml:"imports"`
	Imports    []Import `yaml:"-"`
	Codecs     string   `yaml:"codecs"`
	Tests      []test   `yaml:"tests"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL