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

golang

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 8 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

	// Build with debug symbols
	Debug bool
	// Build with race condition detection
	RaceConditionDetection bool

	// Used to cache the binary
	Requirements *builders.Dependencies
	// contains filtered or unexported fields
}

func (*Runner) Init added in v0.0.26

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

func (*Runner) NormalCmd added in v0.0.26

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

func (*Runner) Start added in v0.0.85

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

func (*Runner) Stop added in v0.1.21

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

Jump to

Keyboard shortcuts

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