Print where symbols are defined in Go source code
Go Logos
Pull request Compare This branch is 14 commits behind rogpeppe:master.
Latest commit f90a996 Jan 14, 2016 @rogpeppe rogpeppe Merge pull request #22 from rogpeppe/004-fix-local-expression
fix for package-local expressions not found in original file
Permalink
Failed to load latest commit information.
go
LICENSE
README add LICENSE and README Jan 30, 2015
acme.go allow -unstable suffix in import path heuristic; sort imports May 1, 2015
doc.go
godef.go fix for package-local expressions not found in original file Jan 14, 2016

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 like imports where the last element import path doesn't match
the package identifier.