Versions in this module Expand all Collapse all v0 v0.5.7 Dec 5, 2020 Changes in this version + func GoVersion(ctx context.Context, inv Invocation, r *Runner) (int, error) + type Invocation struct + Args []string + BuildFlags []string + CleanEnv bool + Env []string + Logf func(format string, args ...interface{}) + ModFile string + ModFlag string + Overlay string + Verb string + WorkingDir string + type ModuleJSON struct + Dir string + GoMod string + GoVersion string + Indirect bool + Main bool + Path string + Replace *ModuleJSON + func VendorEnabled(ctx context.Context, inv Invocation, r *Runner) (*ModuleJSON, bool, error) + type Runner struct + func (runner *Runner) Run(ctx context.Context, inv Invocation) (*bytes.Buffer, error) + func (runner *Runner) RunPiped(ctx context.Context, inv Invocation, stdout, stderr io.Writer) error + func (runner *Runner) RunRaw(ctx context.Context, inv Invocation) (*bytes.Buffer, *bytes.Buffer, error, error)