Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoUpdatePolicy = GetUpdatePolicy("") UpdatePolicy = GetUpdatePolicy("-u") UpdatePatchPolicy = GetUpdatePolicy("-u=patch") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUpdatePolicy ¶
type GetUpdatePolicy string
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner allows to run certain commands against module aware Go CLI.
func NewRunner ¶
func NewRunner(ctx context.Context, logger *log.Logger, insecure bool, goCmd string) (*Runner, error)
NewRunner checks Go version compatibility then returns Runner.
Click to show internal directories.
Click to hide internal directories.