mirror of
https://github.com/anotherhadi/github-recon.git
synced 2026-10-05 10:58:25 +02:00
Init v2, rewrite
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
recon "github.com/anotherhadi/github-recon/github-recon/email"
|
||||
github_recon_settings "github.com/anotherhadi/github-recon/settings"
|
||||
)
|
||||
|
||||
type EmailResult struct {
|
||||
DateTime string
|
||||
Target string
|
||||
TargetType github_recon_settings.TargetType
|
||||
|
||||
Commit recon.EmailsResult
|
||||
}
|
||||
|
||||
func email(settings github_recon_settings.Settings, datetime string) {
|
||||
result := EmailResult{
|
||||
Target: settings.Target,
|
||||
TargetType: settings.TargetType,
|
||||
DateTime: datetime,
|
||||
}
|
||||
|
||||
printTitle(settings.Silent, "👤 Commits author")
|
||||
result.Commit = recon.Email(settings)
|
||||
printStruct(settings, result.Commit, 0)
|
||||
}
|
||||
Reference in New Issue
Block a user