Versions in this module Expand all Collapse all v0 v0.1.3 Mar 4, 2024 Changes in this version + var DefaultTemplate = template.Must(template.New("markdown").Funcs(funcs).Parse(markdownTemplateText)) + func GroupEntries(c *Changelog) map[string][]*Entry + func NewTemplate(text string) (*template.Template, error) + func ParseScope(config Config, value string, force bool) (string, []string, error) + func PermittedScopesString(config Config, breakAfterItem bool) string + func PermittedTypesString(config Config) string + func ValidateType(config Config, typ string) (string, error) + type Changelog struct + Entries []*Entry + func (c *Changelog) Template(config *Config, version string, date string) (*bytes.Buffer, error) + func (cl *Changelog) Merge(other Changelog) *Changelog + type Config struct + GitHubRepository GitHubRepository + Scopes ConfigScopes + Template RenderTemplate + Types ConfigTypes + func (c *Config) GetGitHubRepository() (string, string, error) + type ConfigScopes = OrderedMap[string, []string] + type ConfigTypes = OrderedMap[string, string] + type Entry struct + Description string + GitHubMeta GitHubMeta + Scope Scope + Type string + func (v *Entry) Conventional() string + type GitHubMeta struct + PullRequestNumbers []int + type GitHubRepository struct + Owner string + Repo string + func (r *GitHubRepository) UnmarshalYAML(unmarshal func(any) error) (err error) + func (r GitHubRepository) MarshalYAML() (any, error) + func (r GitHubRepository) String() string + type Group struct + Changes []*Entry + Type string + type OrderedMap struct + Items yaml.MapSlice + func (c *OrderedMap[K, V]) Get(key K) (V, bool) + func (c *OrderedMap[K, V]) Keys() []string + func (c *OrderedMap[K, V]) ToMap() map[K]V + func (c *OrderedMap[K, V]) UnmarshalYAML(unmarshal func(any) error) error + type RenderTemplate struct + func (t *RenderTemplate) UnmarshalYAML(unmarshal func(any) error) error + type Scope struct + Primary string + SubScopes []string + func (s *Scope) UnmarshalYAML(unmarshal func(any) error) error + func (s Scope) MarshalYAML() (any, error) + func (s Scope) String() string + type TemplateInputs struct + Date string + Groups []Group + Titles map[string]string + Version string