#8 implement interface Source and methods for gitea without Update

This commit is contained in:
Gorbunov Kirill Andreevich
2024-02-14 23:03:30 +03:00
parent d56b389572
commit a1cb049afa
7 changed files with 716 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
package gogs
type Gogs struct {
Token string
}
func NewGogs(t string) *Gogs {
return &Gogs{
Token: t,
}
}
func (g *Gogs) RequestOpen() {}
func (g *Gogs) RequestClose() {}
func (g *Gogs) RequestUpdate() {}