Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Reads the import path and target platform strings from Golang executables.

Awesome Lists containing this project

README

        

## which [![GoDoc](https://godoc.org/github.com/rjeczalik/which?status.png)](https://godoc.org/github.com/rjeczalik/which) [![Build Status](https://img.shields.io/travis/rjeczalik/which/master.svg)](https://travis-ci.org/rjeczalik/which "linux_amd64") [![Build Status](https://img.shields.io/travis/rjeczalik/which/osx.svg)](https://travis-ci.org/rjeczalik/which "darwin_amd64") [![Build status](https://img.shields.io/appveyor/ci/rjeczalik/which.svg)](https://ci.appveyor.com/project/rjeczalik/which "windows_amd64") [![Coverage Status](https://img.shields.io/coveralls/rjeczalik/which/master.svg)](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 [![GoDoc](https://godoc.org/github.com/rjeczalik/which/cmd/gowhich?status.png)](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 [![GoDoc](https://godoc.org/github.com/rjeczalik/which/cmd/gofile?status.png)](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
```