package main import ( "src.opensuse.org/autogits/common/gitea-generated/models" ) //go:generate mockgen -source=pr.go -destination=mock/pr.go -typed type GiteaPRInterface interface { GetPullRequestAndReviews(org, pkg string, num int64) (*models.PullRequest, []*models.PullReview, error) GetAssociatedPrjGitPR(org, repo string, id int) (*models.PullRequest, error) GetAssociatedPRs(org, repo string, id int) ([]*models.PullRequest, error) }