Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatestVersion ¶
LatestVersion gets a slice of versions and returns the latest version as a string e.g. ["0.1", "0.10", "1.0"] or ["0.1.0", "0.10.1", "1.0.2"] any number of minor/patch versions will work as long as all versions are consistent i.e. this is not allowed ["0.1", "0.10.0", "1.0"] and the function will return error
func StringInSlice ¶
StringInSlice returns true if s is in the list slice
func UniqueSlice ¶
UniqueSlice returns a slice containing only the unique strings from the original
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.