Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RepoEmails ¶
type RepoEmails struct {
RepoName string `json:"repo_name"`
Emails map[string]*EmailData `json:"emails"`
}
RepoEmails holds the email data for each repository
func ScanRepository ¶
func ScanRepository(ctx context.Context, username string, repo *github.Repository, token string, excludeMails []string) (*RepoEmails, error)
ScanCommitsForEmails scans the commits of a repository to find associated emails
type RepoSummary ¶
RepoSummary holds a summary of the found repositories
func GetRepositories ¶
func GetRepositories(ctx context.Context, username string, token string, includePublic bool, includePrivate bool, excludeForks bool) ([]*github.Repository, RepoSummary, error)
GetRepositories fetches the repositories of a GitHub user
Click to show internal directories.
Click to hide internal directories.