Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortByVersion ¶
func SortByVersion(releases []Release)
SortByVersion sorts provided slice of releases (by reference) in ascending order by version
func SortByVersionDesc ¶
func SortByVersionDesc(releases []Release)
SortByVersionDesc sorts provided slice of releases (by reference) in descending order by version
Types ¶
type Release ¶
Release describes whole release data - the name itself, release date and issues
func (Release) SummaryType ¶
SummaryType returns count issues by type
type Type ¶
type Type byte
Type describes issue type
type Version ¶
Version describes only release version
func (Version) Compare ¶
Compare method compares two versions This method, used in sorting, will sort version in ascending order
func (Version) Contains ¶
Contains methods returns true, if current release version can contain provided one. For example 5.2 can contain 5.2.1 and 5.2.12, but cannot contain 5.3 and 6.0
Click to show internal directories.
Click to hide internal directories.