Robert Griesemer
f293460f67
go/tools/cmd/godex: don't print unexported methods
...
and print exported methods of unexported types
LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/80920046
2014-03-27 10:49:59 -07:00
Robert Griesemer
8b161c33a9
go.tools/cmd/godex: support for common path prefixes
...
All of these work now as expected:
godex code.google.com/p/go.tools/go/types
godex go.tools/go/types
godex go/types
godex types
Also improved logging/verbose mode.
LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/80930043
2014-03-26 14:47:52 -07:00
Robert Griesemer
8648e1a481
go.tools/cmd/godex: nicer formatting
...
- handle indentation
- write non-empty tuples and signatures in multiple lines
- don't crash for package unsafe
LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/79920044
2014-03-26 08:38:40 -07:00
Robert Griesemer
4a27ee3a1b
go.tools/cmd/godex: a tool to dump export information
...
Initial implementation. Lots of missing pieces.
Example use:
godex math
godex math.Sin
godex math.Sin math.Cos
LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/76890044
2014-03-25 15:26:38 -07:00