mock

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	Name       string `annotation:"name=name,default={{ .TypeName }}Mock"`
	SubPackage string `annotation:"name=sub,default=mocks"`
}

type Processor

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

func (*Processor) Clear

func (p *Processor) Clear()

func (*Processor) Name

func (p *Processor) Name() string

func (*Processor) Output

func (p *Processor) Output() map[string][]byte

func (*Processor) Process

func (p *Processor) Process(node annotation.Node) error

func (*Processor) ToRerun

func (p *Processor) ToRerun() []string

func (*Processor) Version

func (p *Processor) Version() string

Jump to

Keyboard shortcuts

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