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

Method HTMLURL

internal/database/comment.go:133–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (c *Comment) HTMLURL() string {
134 return fmt.Sprintf("%s#issuecomment-%d", c.Issue.HTMLURL(), c.ID)
135}
136
137// This method assumes following fields have been assigned with valid values:
138// Required - Poster, Issue

Callers 1

APIFormatMethod · 0.95

Calls 1

HTMLURLMethod · 0.65

Tested by

no test coverage detected