#8 implement interface Source and methods for gitea without Update
This commit is contained in:
15
internal/source/gitlab/gitlab.go
Normal file
15
internal/source/gitlab/gitlab.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package gitlab
|
||||
|
||||
type Gitlab struct {
|
||||
Token string
|
||||
}
|
||||
|
||||
func NewGitlab(t string) *Gitlab {
|
||||
return &Gitlab{
|
||||
Token: t,
|
||||
}
|
||||
}
|
||||
|
||||
func (g *Gitlab) RequestOpen() {}
|
||||
func (g *Gitlab) RequestClose() {}
|
||||
func (g *Gitlab) RequestUpdate() {}
|
Reference in New Issue
Block a user