Do not export symbols from the main package

main packages are not importable; see the discussion at https://github.com/golang/go/issues/4210

Signed-off-by: Burcu Dogan <jbd@google.com>
This commit is contained in:
Burcu Dogan 2016-01-23 14:40:55 -08:00
parent d7c5849537
commit 40086bd92b
4 changed files with 23 additions and 23 deletions

View file

@ -9,13 +9,13 @@ import (
"github.com/docker/containerd"
)
const Usage = `High performance container daemon cli`
const usage = `High performance container daemon cli`
func main() {
app := cli.NewApp()
app.Name = "ctr"
app.Version = containerd.Version
app.Usage = Usage
app.Usage = usage
app.Authors = []cli.Author{
{
Name: "@crosbymichael",
@ -34,9 +34,9 @@ func main() {
},
}
app.Commands = []cli.Command{
CheckpointCommand,
ContainersCommand,
EventsCommand,
checkpointCommand,
containersCommand,
eventsCommand,
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {