func CreateEventLink()

in internal/changelog/builder.go [224:233]


func CreateEventLink(linkType, owner, repo, eventID string) string {
	switch linkType {
	case "issue":
		return fmt.Sprintf("https://github.com/%s/%s/issues/%s", owner, repo, eventID)
	case "pr":
		return fmt.Sprintf("https://github.com/%s/%s/pull/%s", owner, repo, eventID)
	default:
		panic("wrong linkType")
	}
}