veyron/tools: Merge the impl and main packages
This change gets rid of the impl packages and moves the impl.go files to
the main package for each tool under veyron/tools/.
Change-Id: Ieae4bc1dd02296f58f8cb6327b903d025cf833f5
diff --git a/tools/debug/impl/impl.go b/tools/debug/impl.go
similarity index 99%
rename from tools/debug/impl/impl.go
rename to tools/debug/impl.go
index cf882dc..0f49e85 100644
--- a/tools/debug/impl/impl.go
+++ b/tools/debug/impl.go
@@ -1,4 +1,4 @@
-package impl
+package main
import (
"bytes"
@@ -481,6 +481,6 @@
},
}
-func Root() *cmdline.Command {
+func root() *cmdline.Command {
return &cmdRoot
}
diff --git a/tools/debug/main.go b/tools/debug/main.go
index 41e29e5..a99a159 100644
--- a/tools/debug/main.go
+++ b/tools/debug/main.go
@@ -13,10 +13,9 @@
"veyron.io/veyron/veyron2/rt"
_ "veyron.io/veyron/veyron/profiles"
- "veyron.io/veyron/veyron/tools/debug/impl"
)
func main() {
defer rt.Init().Cleanup()
- impl.Root().Main()
+ root().Main()
}