Skip to content
Looks for Golang executables in $PATH, guesses their origin and updates them or creates $GOPATH workspaces.
Go
Branch: master
Clone or download
rjeczalik Merge pull request #11 from rjeczalik/go-mod
bin: add go module files
Latest commit a8bb8fd Mar 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/gobin
.gitignore Initial commit Jun 21, 2014
.travis.yml travis: bump go version Mar 25, 2019
LICENSE Initial commit Jun 21, 2014
README.md Update badges URLs to shields.io Aug 18, 2014
appveyor.yml
bin.go factor out Update's options to UpdateOptions Aug 9, 2017
bin_posix.go First working version Jun 22, 2014
bin_windows.go First working version Jun 22, 2014
go.mod bin: add go module files Mar 25, 2019
go.sum bin: add go module files Mar 25, 2019

README.md

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

You can’t perform that action at this time.