Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateBinaries ¶
func UpdateBinaries( logger *zap.Logger, options Options, out io.Writer, colorsFactory *colors.DecoratorFactory, cmdRunner gocli.GoCmdRunner, lister gobinaries.DirectoryLister, fs FilesystemUtils, ) error
UpdateBinaries updates binaries in GOBIN
If binariesToUpdate is empty, the command will attempt to update all found binaries in GOBIN.
Types ¶
type CommonUpdateProblem ¶ added in v0.2.0
type CommonUpdateProblem struct {
// contains filtered or unexported fields
}
func FindCommonUpdateProblems ¶ added in v0.2.0
func FindCommonUpdateProblems(goInstallOutput string) []CommonUpdateProblem
func (*CommonUpdateProblem) String ¶ added in v0.2.0
func (p *CommonUpdateProblem) String(f *colors.DecoratorFactory) string
type Filesystem ¶
type Filesystem struct{}
func (*Filesystem) Chdir ¶
func (fs *Filesystem) Chdir(dir string) error
type FilesystemUtils ¶
Click to show internal directories.
Click to hide internal directories.