Print where symbols are defined in Go source code
Go Logos
Latest commit ee532b9 Jun 20, 2016 @rogpeppe committed on GitHub Merge pull request #24 from Manishearth/json
Add support for JSON output

README

## godef - find symbol information in Go source

Godef, given an expression or a location in a source file, prints the
location of the definition of the symbol referred to.

Known limitations:

- it does not understand about "." imports
- it does not deal well with definitions in tests.