feat(blogo,gitea): add owner, repo, ref to plugin initialization

This commit is contained in:
Guz
2025-01-08 11:13:37 -03:00
parent e7e3010cde
commit a934b66d0c

View File

@@ -32,6 +32,7 @@ type plugin struct {
owner string
repo string
ref string
}
type Opts struct {
@@ -71,6 +72,10 @@ func New(owner, repo, apiUrl string, opts ...Opts) blogo.Plugin {
return &plugin{
client: client,
owner: owner,
repo: repo,
ref: opt.Ref,
}
}