Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DevVersion = "1.0.0"
DevVersion is the service current development version.
View Source
var Version = "1.0.0"
Version is the service current released version. Semantic versioning: https://semver.org/
Functions ¶
func GetCurrentVersion ¶
func GetMinorVersion ¶
func GetSchemaVersion ¶
func IsVersionGreaterOrEqualThan ¶
IsVersionGreaterThanOrEqualTo 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.