Remove vendor directory

We use go modules now.
This commit is contained in:
Lorenzo Bolla
2021-11-10 18:16:43 +01:00
parent 235e35a2f3
commit cc30ef3ee2
12 changed files with 5 additions and 974 deletions

View File

@@ -23,7 +23,7 @@ import (
type GrabDownloader struct {
client *grab.Client
progress aptly.Progress
maxTries int
maxTries int
downLimit int64
}
@@ -34,12 +34,11 @@ var (
// NewGrabDownloader creates new expected downloader
func NewGrabDownloader(downLimit int64, maxTries int, progress aptly.Progress) *GrabDownloader {
func NewGrabDownloader(downLimit int64, progress aptly.Progress) *GrabDownloader {
client := grab.NewClient()
return &GrabDownloader{
client: client,
progress: progress,
maxTries: maxTries,
maxTries: maxTries,
downLimit: downLimit,
}
}