Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDevVersion ¶
IsDevVersion checks if a version tag represents a development version. Development versions contain the "-dev-" substring in their tag.
func IsNewer ¶
IsNewer compares two version strings and returns true if the candidate version is newer than the current version. Both versions must be valid semantic versions.
Version comparison rules:
- Stable versions are compared using standard semver comparison
- Dev versions with higher base versions are considered newer
- Dev versions with the same base version are compared by their prerelease identifiers (which include timestamps), so newer timestamps result in lexicographically greater prerelease strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.