Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
GetVersion return string with Tarantool CLI version info.
func SortVersions ¶
func SortVersions(versions []Version)
SortVersions sorts versions from oldest to newest.
Types ¶
type Release ¶
type Release struct {
Type ReleaseType
Num uint64
}
type ReleaseType ¶
type ReleaseType uint16
const ( TypeNightly ReleaseType = iota TypeAlpha TypeBeta TypeRC TypeRelease )
type Version ¶
type Version struct {
Major uint64 // Major
Minor uint64 // Minor
Patch uint64 // Patch
Additional uint64 // Additional commits.
Revision uint64 // Revision number.
Release Release // Release type.
Hash string // Commit hash.
Str string // String representation.
Tarball string // Tarball name.
}
func GetVersionDetails ¶
GetVersionDetails collects information about all version details.
Click to show internal directories.
Click to hide internal directories.