package
Version:
v0.13.1
Opens a new window with list of versions in this module.
Published: Nov 21, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Sort sorts a slice of versions
Version represents a version.
Make takes a string and converts it to a version. It supports the following:
* 1.2.3
* 1.2
* 1
* v1.2.3
* 1.2.3-build-1
LT checks if v is less than o.
Versions represents multiple versions.
Len returns length of version collection
Less checks if version at index i is less than version at index j
Swap swaps two versions inside the collection by its indices
Source Files
¶
Click to show internal directories.
Click to hide internal directories.