1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-09 20:17:21 +00:00

Import topics during migration (#7851)

* add GetTopics interface

* CreateTopics

* remove un-needed comment
This commit is contained in:
Antoine GIRARD
2019-08-14 08:16:12 +02:00
committed by Lunny Xiao
parent 99a004c343
commit 46d6b92ad0
8 changed files with 34 additions and 0 deletions

View File

@ -8,6 +8,7 @@ package base
// Downloader downloads the site repo informations
type Downloader interface {
GetRepoInfo() (*Repository, error)
GetTopics() ([]string, error)
GetMilestones() ([]*Milestone, error)
GetReleases() ([]*Release, error)
GetLabels() ([]*Label, error)