Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SemVersion ¶
SemVersion is the struct to store the version components of an API
func ValidateAndGetVersionComponents ¶
func ValidateAndGetVersionComponents(version string) (*SemVersion, error)
ValidateAndGetVersionComponents validates version string and extracts version components
func (SemVersion) Compare ¶
func (baseVersion SemVersion) Compare(version SemVersion) bool
Compare - compares two semantic versions and returns true if `version` is greater or equal than `baseVersion`
Click to show internal directories.
Click to hide internal directories.