golang

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Go

type Go struct {
	Dir string
}

func (*Go) BufGenerate

func (g *Go) BufGenerate(logger *agents.AgentLogger) error

func (*Go) ModTidy

func (g *Go) ModTidy(logger *agents.AgentLogger) error

func (*Go) Update

func (g *Go) Update(logger *agents.AgentLogger) error

type Runner added in v0.0.26

type Runner struct {
	Name  string
	Dir   string
	Args  []string
	Envs  []string
	Debug bool

	ServiceLogger *agents.ServiceLogger
	AgentLogger   *agents.AgentLogger

	Cmd *exec.Cmd
	// 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() error

func (*Runner) NormalCmd added in v0.0.26

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

func (*Runner) Run added in v0.0.26

Jump to

Keyboard shortcuts

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