tools/cmd
Alan Donovan 74021b4175 cmd/gorename: a precise, type-aware renaming tool for Go identifiers.
See the usage message in main.go for orientation.

To the best of my knowledge, the tool implements all required
soundness checks, except:
- the dynamic behaviour of reflection is obviously undecidable.
- it rejects method renamings that change the "implements" relation.
  It should probably be more aggressive.
- actually it only checks the part of the "implements" relation
  needed for compilation.  Understanding the dynamic behaviour
  of interfaces is obviously undecidable.
- a couple of minor gaps are indicated by TODO comments.

Also:
- Emacs integration.
- tests of all safety checks and (some) successful rewrites.

LGTM=dominik.honnef, sameer
R=gri, sameer, dominik.honnef
CC=golang-codereviews
https://golang.org/cl/139150044
2014-09-23 10:23:04 -04:00
..
benchcmp benchcmp: Fix invocation instructions. 2014-07-22 17:50:39 +10:00
cover cmd/cover: add start lines numbers to each function in -func mode 2014-08-21 16:28:12 -07:00
eg cmd/eg: add -beforeedit flag, which specifies a command to run before editing a file. 2014-08-26 15:52:40 -04:00
godex go.tools/go/gccgoimporter: keep track of package and import priority 2014-06-17 10:56:47 -07:00
godoc go.tools/godoc: deal with fallout from $GOROOT/src/pkg -> $GOROOT/src renaming. 2014-09-10 09:02:54 -04:00
goimports go.tools/cmd/goimports: update doc.go to new emacs instructions 2014-07-01 10:24:22 -07:00
gorename cmd/gorename: a precise, type-aware renaming tool for Go identifiers. 2014-09-23 10:23:04 -04:00
gotype go.tools/cmd/gotype: fix call site (fix build) 2014-06-17 11:06:19 -07:00
html2article html2article: Ignore empty anchor elements and obtain the original url from Google Docs 2014-08-19 17:55:46 -07:00
oracle go.tools/*: replace $GOROOT/src/pkg with $GOROOT/src where appropriate. 2014-09-08 13:24:38 -04:00
present go.tools/cmd/present: track page views for every slide. 2014-08-05 16:02:39 -07:00
ssadump go.tools/cmd/ssadump: print packages and functions to stdout, not stderr. 2014-08-01 14:44:37 -04:00
stringer go.tools/cmd/stringer: fix docs: stringer is not a "go tool" 2014-09-09 13:29:38 -07:00
vet go.tools/*: replace $GOROOT/src/pkg with $GOROOT/src where appropriate. 2014-09-08 13:24:38 -04:00