1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:08:36 -06:00
go/cmd/guru
Alan Donovan d15da3015c cmd/guru: describe Go 1.8 aliases
Also:
- always display the value of a constant expr, whether query expr is a
  definition, a reference, or an alias.
- eliminate some go1.5 portability code.
- remove go1.8 fork of referrers; no changes are necessary
  since I decided not to treat aliases specially.
- add tests.

Tested with Go 1.6, Go 1.7, and tip (Go 1.8).

Change-Id: I94624cff82f4d8c0dcbf12d11c8ce16e8168a7fe
Reviewed-on: https://go-review.googlesource.com/32730
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-11-03 21:55:02 +00:00
..
serial cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
testdata/src cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
callees18.go cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
callees.go x/tools: clone some files in preparation for alias changes 2016-11-02 16:57:37 +00:00
callers.go cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
callstack.go cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
definition18.go cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
definition.go x/tools: clone some files in preparation for alias changes 2016-11-02 16:57:37 +00:00
describe18.go cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
describe.go cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
freevars.go cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
guru_test.go cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
guru.go cmd/guru: report start and end positions for non-PkgName Objects 2016-10-31 16:37:29 +00:00
implements.go cmd/guru: implements: if selected expr is a value, use its type 2016-04-28 14:33:14 +00:00
main.go cmd/guru: update link to documentation 2016-07-08 22:10:47 +00:00
peers.go cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
pointsto.go cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
pos.go cmd/guru: fix nil deref when position is not in Go source 2016-03-07 15:53:42 +00:00
referrers.go cmd/guru: describe Go 1.8 aliases 2016-11-03 21:55:02 +00:00
what.go cmd/guru: what: include imported package names in sameids 2016-07-15 18:55:24 +00:00
whicherrs.go cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00