Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateChangelog ¶
func GenerateChangelog(commits []ConventionalCommit, projectURL string) string
GenerateChangelog generates a changelog from conventional commits
Types ¶
type ConventionalCommit ¶
type ConventionalCommit struct { Type string `json:"type"` Scope string `json:"scope"` Message string `json:"message"` ID string `json:"id"` }
ConventionalCommit represents a conventional commit structure
func ParseCommits ¶
func ParseCommits(commits []Commit) []ConventionalCommit
Click to show internal directories.
Click to hide internal directories.