Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sorter ¶
type Sorter struct {
// contains filtered or unexported fields
}
func (Sorter) SortBySemver ¶
SortBySemver returns the provided releases, ordered by semantic versioning, in descending order i.e. [4.2.3, 1.2.1, 1.2.0] If a version cannot be parsed as semantic versioning, this is logged to stdout and that release is not returned. No error is returned in this case. Therefore the number of returned releases may be fewer than the number of provided releases.
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.