// gitlabToPR instantiates a new PR instance given fields that are commonly
// available in GitLab webhook payloads.
gitlabToPR instantiates a new PR instance given fields that are commonly
available in GitLab webhook payloads.
// gitlabToPR instantiates a new PR instance given fields that are commonly // available in GitLab webhook payloads .
func gitlabToPR(project *gitlab.ProjectCommon, mr *gitlab.MergeRequest) PR {
	return PR{
		ID:             int64(mr.IID),
		RepoExternalID: strconv.Itoa(project.ID),
	}
}
func gitlabToPR ( project * gitlab . ProjectCommon , mr * gitlab . MergeRequest ) PR { return PR { ID : int64 ( mr . IID ) , RepoExternalID : strconv . Itoa ( project . ID ) , } }
gitlabToPR instantiates a new PR instance given fields that are commonly
available in GitLab webhook payloads.
gitlabToPR instantiates a new PR instance given fields that are commonly available in GitLab webhook payloads .