internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotated

func Annotated(d generators.Driver) generators.Driver

func Cached

Types

type Action

type Action func(context.Context, string) (string, error)

func GoExec

func GoExec(gocmd string, params ...string) Action

func (Action) RunOnTest

func (a Action) RunOnTest(ctx context.Context, name generators.DriverName, dir, pckg, function string) (string, error)

type Driver

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

func (Driver) Imports

func (d Driver) Imports() []string

func (Driver) Last

func (d Driver) Last() *generators.Parameter

func (Driver) Parameters

func (d Driver) Parameters() []generators.Parameter

func (*Driver) Reset

func (d *Driver) Reset() error

func (Driver) Template

func (d Driver) Template() string

func (*Driver) VisitArgument

func (d *Driver) VisitArgument(a gofire.Argument) error

func (*Driver) VisitFlag

func (d *Driver) VisitFlag(f gofire.Flag, g *gofire.Group) error

func (*Driver) VisitPlaceholder

func (d *Driver) VisitPlaceholder(p gofire.Placeholder) error

Jump to

Keyboard shortcuts

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