MCPcopy Create free account
hub / github.com/gogs/gogs / SlackLinkFormatter

Function SlackLinkFormatter

internal/database/webhook_slack.go:66–68  ·  view source on GitHub ↗
(url, text string)

Source from the content-addressed store, hash-verified

64}
65
66func SlackLinkFormatter(url, text string) string {
67 return fmt.Sprintf("<%s|%s>", url, SlackTextFormatter(text))
68}
69
70// getSlackCreatePayload composes Slack payload for create new branch or tag.
71func getSlackCreatePayload(p *api.CreatePayload) *SlackPayload {

Callers 8

getSlackCreatePayloadFunction · 0.85
getSlackDeletePayloadFunction · 0.85
getSlackForkPayloadFunction · 0.85
getSlackPushPayloadFunction · 0.85
getSlackIssuesPayloadFunction · 0.85
getSlackReleasePayloadFunction · 0.85

Calls 1

SlackTextFormatterFunction · 0.85

Tested by

no test coverage detected