Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DevVersion = "0.25.3"
DevVersion is the service current development version.
View Source
var Version = "0.25.3"
Version is the service current released version. Semantic versioning: https://semver.org/
Functions ¶
func GetCurrentVersion ¶
func GetMinorVersion ¶
GetMinorVersion extracts the minor version (e.g., "0.25") from a full version string (e.g., "0.25.1"). Returns the minor version string or empty string if the version format is invalid. Version format should be "major.minor.patch" (e.g., "0.25.1").
func IsVersionGreaterOrEqualThan ¶
IsVersionGreaterOrEqualThan returns true if version is greater than or equal to target.
func IsVersionGreaterThan ¶
IsVersionGreaterThan returns true if version is greater than target.
Types ¶
type SortVersion ¶
type SortVersion []string
func (SortVersion) Len ¶
func (s SortVersion) Len() int
func (SortVersion) Less ¶
func (s SortVersion) Less(i, j int) bool
func (SortVersion) Swap ¶
func (s SortVersion) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.