Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePullRequestComment ¶
func CreatePullRequestComment(azureDevOpsParameters *AzureDevOpsParameters, content string) error
Creates a comment with the given content on a pull request specified by the given parameters.
Types ¶
type AzureDevOpsParameters ¶
type AzureDevOpsParameters struct {
Instance string
Organization string
PersonalAccessToken string
Project string
PullRequestId int
RepositoryId string
}
Common parameters required to work with the Azure DevOps API.
func (AzureDevOpsParameters) GetOrganizationUri ¶
func (a AzureDevOpsParameters) GetOrganizationUri() string
Retrieves the organization base URL from the parameters based on the instance and organization.
Click to show internal directories.
Click to hide internal directories.