Documentation
¶
Index ¶
- func CheckIfMerged(ctx context.Context, issuePR *github.Issue, repo *github.Repository) (merged bool, err error)
- func DefaultUpdateAfterTime() string
- func GetAllFollowersByLogin(ctx context.Context, login string) (allFollowers []*github.User, err error)
- func GetAllFollowingByLogin(ctx context.Context, login string) (allFollowing []*github.User, err error)
- func GetAllIssuePRByLogin(ctx context.Context, login string, role string, createAfter string, ...) (issues []*github.Issue, err error)
- func GetAllReposByLogin(ctx context.Context, login string) (allRepos []*github.Repository, err error)
- func GetAllStarredReposByLogin(ctx context.Context, login string) (allRepos []*github.StarredRepository, err error)
- func GetCommentCountByRepo(ctx context.Context, owner string, name string) (commentCount int64, err error)
- func GetCommitCountByRepo(ctx context.Context, owner string, name string) (commitCount int64, err error)
- func GetIdByLogin(ctx context.Context, login string) (id int64, err error)
- func GetIssuePrCountByRepo(ctx context.Context, owner string, name string) (issueCount int64, prCount int64, err error)
- func GetLanguagesByRepo(ctx context.Context, owner string, name string) (languages string, err error)
- func GetLoginById(ctx context.Context, id int64) (login string, err error)
- func GetMergedPrCountByRepo(ctx context.Context, owner string, name string) (mergedPrCount int64, err error)
- func GetOpenPrCountByRepo(ctx context.Context, owner string, name string) (openPrCount int64, err error)
- func GetRepo(ctx context.Context, repoId int64) (githubRepo *github.Repository, githubResp *github.Response, err error)
- func GetRepoByUrl(ctx context.Context, repoUrl string) (repo *github.Repository, err error)
- func GetReviewCountByRepo(ctx context.Context, owner string, name string) (reviewCount int64, err error)
- func GetStarredRepoCountByLogin(ctx context.Context, login string) (starredRepoCount int64, err error)
- func GetUserById(ctx context.Context, id int64) (githubUser *github.User, githubResp *github.Response, err error)
- type CommentWithRepoId
- type ReviewWithRepoId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfMerged ¶
func DefaultUpdateAfterTime ¶
func DefaultUpdateAfterTime() string
func GetAllFollowersByLogin ¶
func GetAllFollowingByLogin ¶
func GetAllIssuePRByLogin ¶
func GetAllReposByLogin ¶
func GetCommentCountByRepo ¶
func GetCommitCountByRepo ¶
func GetIssuePrCountByRepo ¶
func GetLanguagesByRepo ¶
func GetMergedPrCountByRepo ¶
func GetOpenPrCountByRepo ¶
func GetRepoByUrl ¶
func GetReviewCountByRepo ¶
Types ¶
type CommentWithRepoId ¶
type CommentWithRepoId struct {
IsIssueComment bool
IssueComment *github.IssueComment
PRComment *github.PullRequestComment
RepoId int64
}
func GetAllCommentByLogin ¶
func GetAllCommentByLogin(ctx context.Context, login string, createAfter string, searchLimit int64) (allCommentWithRepoId []*CommentWithRepoId, repos map[int64]*github.Repository, err error)
type ReviewWithRepoId ¶
type ReviewWithRepoId struct {
Review *github.PullRequestReview
RepoId int64
}
func GetAllReviewByLogin ¶
func GetAllReviewByLogin(ctx context.Context, login string, createAfter string, searchLimit int64) (allReviewWithRepoId []*ReviewWithRepoId, repos map[int64]*github.Repository, err error)
Click to show internal directories.
Click to hide internal directories.