Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultOutputFile = "CHANGELOG.md" StartDelimiterTemplate = `<a name="%s"></a>` EndDelimiterTemplate = `<!-- changelog-assembler: %s -->` )
View Source
const ( DefaultTemplate = `` /* 221-byte string literal not displayed */ GroupedTemplate = `` /* 479-byte string literal not displayed */ )
View Source
const (
VersionDateFormat = "2006-01-02"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changelog ¶
type Changelog struct { UnreleasedDir string RetainInput bool // contains filtered or unexported fields }
func NewChangelog ¶
func NewChangelog(input io.EntityReader, output *Renderer) *Changelog
type RenderContext ¶
type RenderContext struct { Version string Notes string Entries change.Entries // contains filtered or unexported fields }
func NewRenderContext ¶
func NewRenderContext(version string, entries change.Entries) *RenderContext
func (*RenderContext) Date ¶
func (c *RenderContext) Date() string
Click to show internal directories.
Click to hide internal directories.