May 26, 2018
Print where symbols are defined in Go source code
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.
- it does not understand about “.” imports
- it does not deal well with definitions in tests.