golang

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build added in v0.0.87

func Build() *runners.Command

func DownloadModules added in v0.0.87

func DownloadModules() *runners.Command

func Run added in v0.0.87

func Run(envs []string) *runners.Command

Types

type Go

type Go struct {
	Dir string
}

func (*Go) ModDowload added in v0.1.3

func (g *Go) ModDowload(ctx context.Context) error

func (*Go) ModTidy

func (g *Go) ModTidy(ctx context.Context) error

func (*Go) Update

func (g *Go) Update(ctx context.Context) error

type Runner added in v0.0.26

type Runner struct {
	Name  string
	Dir   string
	Args  []string
	Envs  []string
	Debug bool
	// contains filtered or unexported fields
}

func (*Runner) Init added in v0.0.26

func (g *Runner) Init(ctx context.Context) error

func (*Runner) Kill added in v0.0.26

func (g *Runner) Kill(ctx context.Context) error

func (*Runner) NormalCmd added in v0.0.26

func (g *Runner) NormalCmd(ctx context.Context) (func(), error)

func (*Runner) Start added in v0.0.85

func (g *Runner) Start(ctx context.Context) (*runners.WrappedCmdOutput, error)

Jump to

Keyboard shortcuts

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