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

Function composeTplData

internal/email/email.go:187–193  ·  view source on GitHub ↗
(subject, body, link string)

Source from the content-addressed store, hash-verified

185}
186
187func composeTplData(subject, body, link string) map[string]any {
188 data := make(map[string]any, 10)
189 data["Subject"] = subject
190 data["Body"] = body
191 data["Link"] = link
192 return data
193}
194
195func composeIssueMessage(issue Issue, repo Repository, doer User, tplName string, tos []string, info string) *Message {
196 subject := issue.MailSubject()

Callers 1

composeIssueMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected