Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorInitials ¶
AuthorInitials returns initials for an author name.
func GitURLToWebURL ¶
GitURLToWebURL converts a git remote URL to a web URL. Handles both SSH (git@github.com:user/repo.git) and HTTPS (https://github.com/user/repo.git) formats.
func SanitizePRURL ¶
SanitizePRURL validates and normalises a pull request URL.
Types ¶
type CommitMeta ¶
type CommitMeta struct {
SHA string
Author string
Email string
Date string
Subject string
Body []string
}
CommitMeta is parsed commit metadata from a log entry.
func ParseCommitMeta ¶
func ParseCommitMeta(raw string) CommitMeta
ParseCommitMeta parses a raw commit metadata string into its fields.
Click to show internal directories.
Click to hide internal directories.