From 613b29fc8023f9642a7699266646614250b33f7b Mon Sep 17 00:00:00 2001 From: vmfunc Date: Mon, 15 Apr 2024 02:55:32 +0200 Subject: [PATCH] git: add function to binary --- sif.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sif.go b/sif.go index 83291d2..f235450 100644 --- a/sif.go +++ b/sif.go @@ -106,6 +106,11 @@ func (app *App) Run() error { scan.Whois(url, app.settings.LogDir) } + // func Git(url string, timeout time.Duration, threads int, logdir string) + if app.settings.Git { + scan.Git(url, app.settings.Timeout, app.settings.Threads, app.settings.LogDir) + } + if app.settings.ApiMode { utils.ReturnApiOutput() }