Lines Matching defs:param
100 func GetBetweenMRs(param CompareParam) ([]*Commit, error) {
101 commits, err := GetBetweenCommits(param)
106 head := param.Head
107 for head != param.Base {
112 commit.Owner = param.Owner
113 commit.Repo = param.Repo
121 func GetBetweenCommits(param CompareParam) ([]*Commit, error) {
122 url := fmt.Sprintf("https://gitee.com/api/v5/repos/%s/%s/compare/%s...%s", param.Owner, param.Repo, param.Base, param.Head)