Refactor gitlab to generic remotes
This commit is contained in:
20
internal/remotes/load/load.go
Normal file
20
internal/remotes/load/load.go
Normal file
@ -0,0 +1,20 @@
|
||||
package load
|
||||
|
||||
import (
|
||||
"gitlab.sweetwater.com/it/devops/tools/gitlab-project-manager/internal/remotes/projects"
|
||||
)
|
||||
|
||||
type ProgressInfo struct {
|
||||
ProgressChan chan Progress
|
||||
ProjectsChan chan []*projects.Project
|
||||
ErrorChan chan error
|
||||
DoneChan chan interface{}
|
||||
NumProjects int
|
||||
}
|
||||
|
||||
type Progress struct {
|
||||
Page int
|
||||
Pages int
|
||||
Projects int
|
||||
TotalProjects int
|
||||
}
|
Reference in New Issue
Block a user