Versions in this module Expand all Collapse all v1 v1.1.0 Oct 15, 2020 Changes in this version + type Changelog struct + Additions []ChangelogEntry + Bugfixes []ChangelogEntry + Changes []ChangelogEntry + Deprecations []ChangelogEntry + Removals []ChangelogEntry + Repo string + Version string + func ChangelogFromEntries(version semver.Version, entries []FragmentEntry) Changelog + func (c *Changelog) Template() ([]byte, error) + func (c *Changelog) WriteFile(path string) error + type ChangelogEntry struct + Description string + Link string + type EntryKind string + const Addition + const Bugfix + const Change + const Deprecation + const Removal + func (k EntryKind) Validate() error + type EntryMigration struct + Body string + Header string + func (m EntryMigration) Validate() error + type Fragment struct + Entries []FragmentEntry + func (f *Fragment) Validate() error + type FragmentEntry struct + Breaking bool + Description string + Kind EntryKind + Migration *EntryMigration + PullRequest *uint + PullRequestLink string + func LoadEntries(fragmentsDir, repo string) ([]FragmentEntry, error) + func (e *FragmentEntry) Validate() error + type Migration struct + Body string + Header string + PullRequestLink string + type MigrationGuide struct + Migrations []Migration + Version string + Weight uint64 + func MigrationGuideFromEntries(version semver.Version, entries []FragmentEntry) MigrationGuide + func (mg *MigrationGuide) Template() ([]byte, error) + func (mg *MigrationGuide) WriteFile(path string) error + type PullRequestNumberGetter interface + GetPullRequestNumberFor func(file string) (uint, error)