Initial commit
This commit is contained in:
17
lib/github/github.go
Normal file
17
lib/github/github.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package github
|
||||
|
||||
import (
|
||||
"github.com/google/go-github/v72/github"
|
||||
"source.hodakov.me/hdkv/github-release/lib/app"
|
||||
)
|
||||
|
||||
type Github struct {
|
||||
app *app.App
|
||||
client *github.Client
|
||||
}
|
||||
|
||||
func New(app *app.App) *Github {
|
||||
return &Github{
|
||||
app: app,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user