Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rjeczalik/bin

Looks for Golang executables in $PATH, guesses their origin and updates them or creates $GOPATH workspaces.
https://github.com/rjeczalik/bin

developer-tools golang golang-package

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

bin [![GoDoc](https://godoc.org/github.com/rjeczalik/bin?status.svg)](https://godoc.org/github.com/rjeczalik/bin) [![Build Status](https://img.shields.io/travis/rjeczalik/bin/master.svg)](https://travis-ci.org/rjeczalik/bin "linux_amd64") [![Build Status](https://img.shields.io/travis/rjeczalik/bin/osx.svg)](https://travis-ci.org/rjeczalik/bin "darwin_amd64") [![Build status](https://img.shields.io/appveyor/ci/rjeczalik/bin.svg)](https://ci.appveyor.com/project/rjeczalik/bin "windows_amd64")
=========

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](https://godoc.org/github.com/rjeczalik/bin/cmd/gobin?status.png)](https://godoc.org/github.com/rjeczalik/bin/cmd/gobin)

*Installation*

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

*Documentation*

[godoc.org/github.com/rjeczalik/bin/cmd/gobin](http://godoc.org/github.com/rjeczalik/bin/cmd/gobin)

*Source example*

![gobin -s](https://i.imgur.com/2qs25Cg.gif "gobin -s")

*Update example*

![gobin -u](https://i.imgur.com/AEimmsY.gif "gobin -u")