Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2025-05-20 15:28:32 +02:00
parent 7f74f5d28f
commit 5a9483411a
14 changed files with 845 additions and 216 deletions
+17 -7
View File
@@ -8,15 +8,25 @@ import (
)
type Recon struct {
client *github.Client
logger *log.Logger
ctx context.Context
client *github.Client
logger *log.Logger
ctx context.Context
silent bool
jsonFile string
}
func NewRecon(client *github.Client, logger *log.Logger, ctx context.Context) *Recon {
func NewRecon(
client *github.Client,
logger *log.Logger,
ctx context.Context,
silent bool,
jsonFile string,
) *Recon {
return &Recon{
client: client,
logger: logger,
ctx: ctx,
client: client,
logger: logger,
ctx: ctx,
silent: silent,
jsonFile: jsonFile,
}
}