Documentation
¶
Index ¶
- func BitbucketToSlack(ctx workflow.Context, text, prURL string) string
- func GitHubToSlack(ctx workflow.Context, text, prURL string) string
- func LinkifyTitle(ctx workflow.Context, cfg map[string]string, prURL, title string) string
- func SlackToBitbucket(ctx workflow.Context, text string) string
- func SlackToGitHub(_ workflow.Context, text string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BitbucketToSlack ¶
BitbucketToSlack converts Bitbucket markdown text into Slack markdown text.
Based on:
func LinkifyTitle ¶ added in v1.1.0
LinkifyTitle finds IDs in the given title of a pull/merge request and tries to replace them with Slack links: in the same repository, a nearby one, or based on RevChat's configuration of issue trackers. If no IDs are found, or none are recognized, it returns the input text unchanged.
func SlackToBitbucket ¶ added in v0.4.0
SlackToBitbucket converts Slack markdown text into Bitbucket markdown text.
Based on:
func SlackToGitHub ¶ added in v1.2.0
SlackToGitHub converts Slack markdown text into GitHub markdown text.
Based on:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.