Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused struct
  • Loading branch information
lunny committed Jun 14, 2021
commit cf0b1f6433a02abc9549ea0c2616c2f3c9b29589
5 changes: 0 additions & 5 deletions modules/migrations/base/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ type Downloader interface {
FormatCloneURL(opts MigrateOptions, remoteAddr string) (string, error)
}

// CommentsDownloader represents an interface which supports get comments without issue number
type CommentsDownloader interface {
GetAllComments(page, perPage int) ([]*Comment, bool, error)
}

// DownloaderFactory defines an interface to match a downloader implementation and create a downloader
type DownloaderFactory interface {
New(ctx context.Context, opts MigrateOptions) (Downloader, error)
Expand Down