mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 11:27:51 +00:00
Import topics during migration (#7851)
* add GetTopics interface * CreateTopics * remove un-needed comment
This commit is contained in:
committed by
Lunny Xiao
parent
98d0b035d6
commit
3232885571
@@ -34,6 +34,7 @@ create a Downloader.
|
|||||||
```Go
|
```Go
|
||||||
type Downloader interface {
|
type Downloader interface {
|
||||||
GetRepoInfo() (*Repository, error)
|
GetRepoInfo() (*Repository, error)
|
||||||
|
GetTopics() ([]string, error)
|
||||||
GetMilestones() ([]*Milestone, error)
|
GetMilestones() ([]*Milestone, error)
|
||||||
GetReleases() ([]*Release, error)
|
GetReleases() ([]*Release, error)
|
||||||
GetLabels() ([]*Label, error)
|
GetLabels() ([]*Label, error)
|
||||||
|
|||||||
Reference in New Issue
Block a user