diff options
Diffstat (limited to 'modules/migrations')
-rw-r--r-- | modules/migrations/base/downloader.go | 2 | ||||
-rw-r--r-- | modules/migrations/base/label.go | 2 | ||||
-rw-r--r-- | modules/migrations/base/uploader.go | 2 | ||||
-rw-r--r-- | modules/migrations/github.go | 2 | ||||
-rw-r--r-- | modules/migrations/gitlab.go | 2 | ||||
-rw-r--r-- | modules/migrations/gogs.go | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/modules/migrations/base/downloader.go b/modules/migrations/base/downloader.go index 2388b2dd6e..71c8f3eaf9 100644 --- a/modules/migrations/base/downloader.go +++ b/modules/migrations/base/downloader.go @@ -18,7 +18,7 @@ type GetCommentOptions struct { PageSize int } -// Downloader downloads the site repo informations +// Downloader downloads the site repo information type Downloader interface { SetContext(context.Context) GetRepoInfo() (*Repository, error) diff --git a/modules/migrations/base/label.go b/modules/migrations/base/label.go index 0c86b547f1..5a66e7620f 100644 --- a/modules/migrations/base/label.go +++ b/modules/migrations/base/label.go @@ -5,7 +5,7 @@ package base -// Label defines a standard label informations +// Label defines a standard label information type Label struct { Name string Color string diff --git a/modules/migrations/base/uploader.go b/modules/migrations/base/uploader.go index dfcf81d052..4d0257df37 100644 --- a/modules/migrations/base/uploader.go +++ b/modules/migrations/base/uploader.go @@ -5,7 +5,7 @@ package base -// Uploader uploads all the informations of one repository +// Uploader uploads all the information of one repository type Uploader interface { MaxBatchInsertSize(tp string) int CreateRepo(repo *Repository, opts MigrateOptions) error diff --git a/modules/migrations/github.go b/modules/migrations/github.go index 9b897662d0..7d4c492c24 100644 --- a/modules/migrations/github.go +++ b/modules/migrations/github.go @@ -61,7 +61,7 @@ func (f *GithubDownloaderV3Factory) GitServiceType() structs.GitServiceType { return structs.GithubService } -// GithubDownloaderV3 implements a Downloader interface to get repository informations +// GithubDownloaderV3 implements a Downloader interface to get repository information // from github via APIv3 type GithubDownloaderV3 struct { base.NullDownloader diff --git a/modules/migrations/gitlab.go b/modules/migrations/gitlab.go index c83989f771..fe763f9900 100644 --- a/modules/migrations/gitlab.go +++ b/modules/migrations/gitlab.go @@ -56,7 +56,7 @@ func (f *GitlabDownloaderFactory) GitServiceType() structs.GitServiceType { return structs.GitlabService } -// GitlabDownloader implements a Downloader interface to get repository informations +// GitlabDownloader implements a Downloader interface to get repository information // from gitlab via go-gitlab // - issueCount is incremented in GetIssues() to ensure PR and Issue numbers do not overlap, // because Gitlab has individual Issue and Pull Request numbers. diff --git a/modules/migrations/gogs.go b/modules/migrations/gogs.go index d689b0da11..9e663fd1fe 100644 --- a/modules/migrations/gogs.go +++ b/modules/migrations/gogs.go @@ -57,7 +57,7 @@ func (f *GogsDownloaderFactory) GitServiceType() structs.GitServiceType { return structs.GogsService } -// GogsDownloader implements a Downloader interface to get repository informations +// GogsDownloader implements a Downloader interface to get repository information // from gogs via API type GogsDownloader struct { base.NullDownloader |