aboutsummaryrefslogtreecommitdiffstats
path: root/services/migrations/gitea_downloader.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/migrations/gitea_downloader.go')
-rw-r--r--services/migrations/gitea_downloader.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/migrations/gitea_downloader.go b/services/migrations/gitea_downloader.go
index 4ad55894ee..f05ee0cb7d 100644
--- a/services/migrations/gitea_downloader.go
+++ b/services/migrations/gitea_downloader.go
@@ -78,8 +78,9 @@ type GiteaDownloader struct {
}
// NewGiteaDownloader creates a gitea Downloader via gitea API
-// Use either a username/password or personal token. token is preferred
-// Note: Public access only allows very basic access
+//
+// Use either a username/password or personal token. token is preferred
+// Note: Public access only allows very basic access
func NewGiteaDownloader(ctx context.Context, baseURL, repoPath, username, password, token string) (*GiteaDownloader, error) {
giteaClient, err := gitea_sdk.NewClient(
baseURL,