mocks

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 2 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 {
	mock.Mock
}

Generator is an autogenerated mock type for the Generator type

func NewGenerator

func NewGenerator(t mockConstructorTestingTNewGenerator) *Generator

NewGenerator creates a new instance of Generator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Generator) Generate

func (_m *Generator) Generate(template *generators.Template, modulePath string, packagePath string, templatePath string)

Generate provides a mock function with given fields: template, modulePath, packagePath, templatePath

Jump to

Keyboard shortcuts

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