Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RgxFirstLine = regexp.MustCompile(`#\s[A-Za-z]+\s[A-Za-z]+\s(?P<version>v?\d+.\d+.\d+(?:-\d+)?)\s\((?P<date>\d{4}-\d{2}-\d{2})\)`) RgxLastLine = regexp.MustCompile(`\*Released\sby\s(?P<name>.*?)\s<(?P<mail>.*?)>`) )
Functions ¶
This section is empty.
Types ¶
type Changes ¶
func (Changes) SortedAuthors ¶ added in v0.3.0
type Release ¶
type Release struct { Header string Version *semver.Version Date time.Time Changes Changes By Author Released bool }
func NewRelease ¶
func NewRelease() *Release
func (*Release) GenerateFooter ¶
func (r *Release) GenerateFooter()
func (*Release) GenerateHeader ¶
func (*Release) MarshalJSON ¶ added in v0.2.0
func (*Release) ParseFooter ¶
func (r *Release) ParseFooter()
func (*Release) ParseHeader ¶
func (r *Release) ParseHeader()
Click to show internal directories.
Click to hide internal directories.