golang

package
v0.0.88 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command added in v0.0.87

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

func Build added in v0.0.87

func Build() *Command

func DownloadModules added in v0.0.87

func DownloadModules() *Command

func NewCommand added in v0.0.87

func NewCommand(args ...string) *Command

func Run added in v0.0.87

func Run(envs []string) *Command

func (*Command) AsSlice added in v0.0.87

func (c *Command) AsSlice() []string

func (*Command) Envs added in v0.0.87

func (c *Command) Envs() []string

func (*Command) Level added in v0.0.87

func (c *Command) Level(loglevel wool.Loglevel) *Command

func (*Command) LogLevel added in v0.0.87

func (c *Command) LogLevel() wool.Loglevel

func (*Command) WithEnvs added in v0.0.87

func (c *Command) WithEnvs(envs []string) *Command

type Go

type Go struct {
	Dir string
}

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