1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00
go/refactor/rename
Michael Matloob 796e50ba32 cmd/mvpkg: a package moving tool
This change adds a command mvpkg that will move a given package and
update all its imports. It uses similar logic to gorename to update
the imports.

Change-Id: Iebbd0b4c93c2302b0a71c3b99c68f6778106012a
Reviewed-on: https://go-review.googlesource.com/1973
Reviewed-by: Alan Donovan <adonovan@google.com>
2015-01-14 17:37:29 +00:00
..
check.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
mvpkg_test.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
mvpkg.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
rename_test.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
rename.el go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
rename.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
spec.go cmd/gorename: make Usage documentation sensible in godoc 2014-12-30 16:36:43 +00:00
util.go astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00