Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVersion ¶
NewVersion some older versions in wolfi contain an underscore to separate pre-release
Types ¶
type ByLatestStrings ¶
type ByLatestStrings []string
ByLatestStrings is like ByLatest but lets the user pass in strings instead of Version objects.
func (ByLatestStrings) Len ¶
func (by ByLatestStrings) Len() int
func (ByLatestStrings) Less ¶
func (by ByLatestStrings) Less(i, j int) bool
func (ByLatestStrings) Swap ¶
func (by ByLatestStrings) Swap(i, j int)
type Interface ¶
type Interface interface { // Len is the number of elements in the collection. Len() int // Less reports whether the element with index i must sort before the element with index j. // If both Less(i, j) and Less(j, i) are false, then the elements at index i and j are considered equal. Less(i, j int) bool // Swap swaps the elements with indexes i and j. Swap(i, j int) }
Click to show internal directories.
Click to hide internal directories.