Add urfave/cli app

This commit is contained in:
Richard Patel
2018-10-28 17:59:46 +01:00
parent b1c40767e0
commit bfd7302be8
3 changed files with 71 additions and 20 deletions

View File

@@ -19,10 +19,6 @@ var client fasthttp.Client
var ErrRateLimit = errors.New("too many requests")
var ErrForbidden = errors.New("access denied")
func NewRemoteDir(u url.URL) *OD {
return &OD{ BaseUri: u }
}
func GetDir(j *Job, f *File) (links []url.URL, err error) {
f.IsDir = true
f.Name = path.Base(j.Uri.Path)