gowhich

command
v0.0.0-...-adcb5d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

cmd/gowhich shows the import path of Go executables

cmd/gowhich takes one argument, which is either program name or abosolute or relative path to an executable; when a program name is provided, it's looked up up in the $PATH.

cmd/gowhich looks for a main.main symbol in the given executable and tries to guess the import name from its source files path.

cmd/gowhich does not work on Go executables from $GOTOOLDIR.

Example usage

~ $ gowhich godoc
code.google.com/p/go.tools/cmd/godoc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL