From a934b66d0cb8d9faa16ee1d5318d2b576299be39 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Wed, 8 Jan 2025 11:13:37 -0300 Subject: [PATCH] feat(blogo,gitea): add owner, repo, ref to plugin initialization --- blogo/gitea/gitea.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blogo/gitea/gitea.go b/blogo/gitea/gitea.go index 8cd8488..4fe8f42 100644 --- a/blogo/gitea/gitea.go +++ b/blogo/gitea/gitea.go @@ -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, } }