Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 964 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 964 Bytes

where

Yum

Go Report Card License

What is this?

A which or command -v like tool for Go.

How to install

Open a terminal and run the following:

$ go get -u github.com/mjwhitta/where
$ go install github.com/mjwhitta/where/cmd/where@latest

Or compile from source:

$ git clone https://github.com/mjwhitta/where.git
$ cd where
$ git submodule update --init
$ make

Usage

package main

import (
    "fmt"

    "github.com/mjwhitta/where"
)

func main() {
    fmt.Println(where.Is("bash"))
}

Links