mirror of https://github.com/markbates/pkger.git
country disappeared
This commit is contained in:
parent
a09d2070cd
commit
787577bfe0
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue