Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ bin Public

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

License

Notifications You must be signed in to change notification settings

rjeczalik/bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bin GoDoc Build Status Build Status Build status

Searches for Go executables in $PATH / $GOBIN / $GOPATH 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

Usage

~ $ GOPATH=~ go get github.com/rjeczalik/pkgconfig/cmd/pkg-config \
                    github.com/rjeczalik/bindata/cmd/bindata      \
                    github.com/rjeczalik/which/cmd/gowhich        \
                    github.com/rjeczalik/tools/cmd/gotree
~ $ GOPATH=~ gobin
/home/rjeczalik/bin/bindata	(github.com/rjeczalik/bindata/cmd/bindata)
/home/rjeczalik/bin/gotree	(github.com/rjeczalik/tools/cmd/gotree)
/home/rjeczalik/bin/gowhich	(github.com/rjeczalik/which/cmd/gowhich)
/home/rjeczalik/bin/pkg-config	(github.com/rjeczalik/pkgconfig/cmd/pkg-config)
~ $ GOPATH=~ gobin -u
ok	/home/rjeczalik/bin/gowhich	(github.com/rjeczalik/which/cmd/gowhich)	5.926s
ok	/home/rjeczalik/bin/gotree	(github.com/rjeczalik/tools/cmd/gotree)	2.494s
ok	/home/rjeczalik/bin/pkg-config	(github.com/rjeczalik/pkgconfig/cmd/pkg-config)	2.635s
ok	/home/rjeczalik/bin/bindata	(github.com/rjeczalik/bindata/cmd/bindata)	3.474s

NOTE Bumping GOMAXPROCS value up may speed up gobin significantly.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages