return authors

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2025-05-28 14:10:31 +02:00
parent 5b79b6492b
commit 926bf7239e
2 changed files with 33 additions and 21 deletions
+8
View File
@@ -165,3 +165,11 @@ func (r Recon) WriteJson(data any) {
}
r.PrintInfo("INFO", "JSON file created successfully", "file", r.JsonFile)
}
func folderExists(path string) bool {
if stat, err := os.Stat(path); err == nil && stat.IsDir() {
return true
}
return false
}