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