generator

package
v0.0.0-...-f0b332b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 6 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
}

Generator generates the mock implementation of an Interface.

func New

func New(writer io.Writer) (*Generator, error)

New create a new Generator.

func (*Generator) GenerateMock

func (g *Generator) GenerateMock(iface *mocksie.Interface) error

GenerateMock generates a mock for an Interface.

Jump to

Keyboard shortcuts

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