Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rjeczalik/bin
- Owner: rjeczalik
- License: mit
- Created: 2014-06-21T18:49:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T11:56:21.000Z (about 3 years ago)
- Last Synced: 2024-06-20T03:57:27.025Z (6 months ago)
- Topics: developer-tools, golang, golang-package
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 45
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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")