Help us shape the future of Go! Take the 2026 Go Developer Survey

golang

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 9 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 {
	// contains filtered or unexported fields
}

func NewRunner added in v0.1.22

func NewRunner(ctx context.Context, name string, dir string) (*Runner, error)

func (*Runner) CacheDir added in v0.1.22

func (runner *Runner) CacheDir() string

func (*Runner) Init added in v0.0.26

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

func (*Runner) NormalCmd added in v0.0.26

func (runner *Runner) NormalCmd(ctx context.Context) error

func (*Runner) Start added in v0.0.85

func (runner *Runner) Start(ctx context.Context) error

func (*Runner) Stop added in v0.1.21

func (runner *Runner) Stop() error

func (*Runner) UsedCache added in v0.1.22

func (runner *Runner) UsedCache() bool

func (*Runner) WithDebug added in v0.1.22

func (runner *Runner) WithDebug(debug bool) *Runner

func (*Runner) WithEnvs added in v0.1.22

func (runner *Runner) WithEnvs(envs []string) *Runner

func (*Runner) WithOut added in v0.1.22

func (runner *Runner) WithOut(out io.Writer) *Runner

func (*Runner) WithRaceConditionDetection added in v0.1.22

func (runner *Runner) WithRaceConditionDetection(raceConditionDection bool) *Runner

func (*Runner) WithRequirements added in v0.1.22

func (runner *Runner) WithRequirements(requirements *builders.Dependencies) *Runner

Jump to

Keyboard shortcuts

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