/bin

Looks for Golang executables in $PATH, guesses their origin and updates them or creates $GOPATH workspaces.

Primary LanguageGoMIT LicenseMIT

bin GoDoc Build Status Build Status Build status

Package bin looks for Go executable system-wide ($PATH, $GOBIN, $GOPATH), lists them, reads their import paths, fetches their sources and updates them.

NOTE Go version 1.3 required.

cmd/gobin GoDoc

Installation

~ $ go get -u github.com/rjeczalik/bin/cmd/gobin

Documentation

godoc.org/github.com/rjeczalik/bin/cmd/gobin

Source example

gobin -s

Update example

gobin -u