Versions in this module Expand all Collapse all v1 v1.0.8 Sep 16, 2024 Changes in this version + const ApiHeader1 + const ErrorMesssage1 + const MessageApiRate + const PrefixMsg + func FastAnalys(platformConfig map[string]interface{}, exlusionfile string) error + func GetGithubLanguages(parms ParamsReposGithub, ctx context.Context, client *github.Client, ...) (int, int, int, int, error) + func SaveBranch(branch RepoBranch) error + func SaveCommit(repos []*github.RepositoryCommit) error + func SaveLast(last Lastanalyse) error + func SaveRepos(repos []*github.Repository) error + func SaveResult(result AnalysisResult) error + type AnalysisResult struct + NumRepositories int + ProjectBranches []ProjectBranch + type Branch struct + Commit CommitInfo + Name string + Protected bool + func GithubAllBranches(url, AccessToken, apiver string) ([]Branch, error) + type BranchInfoEvents struct + Additions int + Commits int + Deletions int + Name string + Pushes int + type CommitInfo struct + Sha string + URL string + type ExclusionList struct + Repos map[string]bool + type ExclusionRepos map[string]bool + type LanguageInfo1 struct + CodeLines int + Language string + type Lastanalyse struct + LastBranch string + LastRepos string + type ParamsReposGithub struct + AccessToken string + Apiver string + BaseAPI string + Branch string + DefaultB bool + ExclusionList ExclusionRepos + NBRepos int + Organization string + Period int + Repos []*github.Repository + Spin *spinner.Spinner + Stats bool + URL string + type PlatformConfig struct + Organization string + URL string + type ProjectBranch struct + LargestSize int64 + MainBranch string + Org string + RepoSlug string + func GetRepoGithubList(platformConfig map[string]interface{}, exclusionfile string, fast bool) ([]ProjectBranch, error) + func GetReposGithub(parms ParamsReposGithub, ctx context.Context, client *github.Client) ([]ProjectBranch, int, int, int, int, int) + type RepoBranch struct + Branches []*github.Branch + ID int64 + Name string + type Repository struct + Archived bool + DefaultBranch string + ID int + LOC map[string]int + Language string + Name string + Path string + SizeR int64 + type SummaryStats struct + EmptyRepo int + LargestRepo string + LargestRepoBranch string + NbRepos int + TotalArchiv int + TotalBranches int + TotalExclude int + type TreeItem struct + Mode string + Path string + Sha string + Size int + Type string + type TreeResponse struct + Sha string + Tree []TreeItem + Truncated bool + Url string