https://github.com/rjeczalik/which
Reads the import path and target platform strings from Golang executables.
https://github.com/rjeczalik/which
developer-tools devops golang golang-package
Last synced: 7 months ago
JSON representation
Reads the import path and target platform strings from Golang executables.
- Host: GitHub
- URL: https://github.com/rjeczalik/which
- Owner: rjeczalik
- License: mit
- Created: 2014-06-20T00:43:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-21T14:05:12.000Z (almost 11 years ago)
- Last Synced: 2025-04-11T16:48:03.324Z (10 months ago)
- Topics: developer-tools, devops, golang, golang-package
- Language: Go
- Homepage:
- Size: 2.48 MB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## which [](https://godoc.org/github.com/rjeczalik/which) [](https://travis-ci.org/rjeczalik/which "linux_amd64") [](https://travis-ci.org/rjeczalik/which "darwin_amd64") [](https://ci.appveyor.com/project/rjeczalik/which "windows_amd64") [](https://coveralls.io/r/rjeczalik/which?branch=master)
Package which shows the import path of Go executables.
*Installation*
```bash
~ $ go get -u github.com/rjeczalik/which
```
*Documentation*
[godoc.org/github.com/rjeczalik/which](https://godoc.org/github.com/rjeczalik/which)
## cmd/gowhich [](https://godoc.org/github.com/rjeczalik/which/cmd/gowhich)
*Installation*
```bash
~ $ go get -u github.com/rjeczalik/which/cmd/gowhich
~ $ go install github.com/rjeczalik/which/cmd/gowhich
```
*Documentation*
[godoc.org/github.com/rjeczalik/which/cmd/gowhich](http://godoc.org/github.com/rjeczalik/which/cmd/gowhich)
*Example usage*
```bash
~ $ gowhich godoc
code.google.com/p/go.tools/cmd/godoc
```
```bash
~ $ gowhich ~/bin/godoc
code.google.com/p/go.tools/cmd/godoc
```
## cmd/gofile [](https://godoc.org/github.com/rjeczalik/which/cmd/gofile)
*Installation*
```bash
~ $ go get -u github.com/rjeczalik/which/cmd/gofile
~ $ go install github.com/rjeczalik/which/cmd/gofile
```
*Documentation*
[godoc.org/github.com/rjeczalik/which/cmd/gofile](http://godoc.org/github.com/rjeczalik/which/cmd/gofile)
*Example usage*
```bash
~ $ gofile godoc
darwin_amd64
```
```bash
~ $ gofile ~/bin/godoc
darwin_amd64
```