Parse markdown-esque changelogs (like our example), parse out versions, sections, changes & references. Motivation: automate update of changelogs
Bundled with a command, changelogger
.
$ go get github.com/parkr/changelog/changelogger
$ $GOPATH/bin/changelogger
$ $GOPATH/bin/changelogger -h
$ go get github.com/parkr/changelog
// Parse changelog at a given filename
changes, err := changelog.NewChangelogFromFile("CHANGELOG.md")
// Discover the filename of your changelog
filename := changelog.HistoryFilename()
// Parse changelog from some io.Reader
changes, err := changelog.NewChangeLogFromReader(req.Body)
MIT License, Copyright 2015 Parker Moore. See LICENSE for details.