Documentation ¶
Index ¶
- Constants
- func GetNewest(versions []string) string
- func IsPrerelease(currentVersion string) bool
- func Lt(version1, version2 string) (bool, error)
- func Lte(version1, version2 string) (bool, error)
- func Next(currentVersion, kind string) (string, error)
- func NextPrerelease(currentVersion string) (string, error)
Constants ¶
View Source
const ( // Major version Major = "major" // Minor version Minor = "minor" // Patch version Patch = "patch" )
Variables ¶
This section is empty.
Functions ¶
func IsPrerelease ¶
func Lt ¶
Lt checks if version1 is less-than version2, returns error in case of invalid version string
func NextPrerelease ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.