From 787577bfe071081c0c17243f95ed36f2440f0ed9 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Tue, 22 Oct 2019 10:10:12 -0400 Subject: [PATCH] country disappeared --- cmd/pkger/cmds/pack.go | 2 +- cmd/pkger/cmds/walk.go | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 cmd/pkger/cmds/walk.go diff --git a/cmd/pkger/cmds/pack.go b/cmd/pkger/cmds/pack.go index d99617f..0f67eba 100644 --- a/cmd/pkger/cmds/pack.go +++ b/cmd/pkger/cmds/pack.go @@ -82,7 +82,7 @@ func (e *packCmd) Route(args []string) error { } } - return e.Exec(args) + return fmt.Errorf("unknown arguments %q", args) } func New() (*packCmd, error) { diff --git a/cmd/pkger/cmds/walk.go b/cmd/pkger/cmds/walk.go deleted file mode 100644 index a1cc149..0000000 --- a/cmd/pkger/cmds/walk.go +++ /dev/null @@ -1,19 +0,0 @@ -package cmds - -import ( - "fmt" - "os" - - "github.com/markbates/pkger" -) - -func walk(args []string) error { - err := pkger.Walk("/", func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - fmt.Println(path) - return nil - }) - return err -}