Help us shape the future of Go! Take the 2026 Go Developer Survey

testgen

package module
v0.0.0-...-ba9fda7 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2014 License: BSD-3-Clause Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(gen Generator, w io.Writer) error

Types

type Dimension

type Dimension []Element

type Element

type Element struct {
	Name  string
	Value interface{}
}

type Generator

type Generator interface {
	Package() string
	Prefix() string
	Imports() map[string]string
	Dimensions() []Dimension
	Globals(io.Writer) error
	Comment(io.Writer, ...Element) error
	Body(io.Writer, ...Element) error
}

Jump to

Keyboard shortcuts

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