Documentation
¶
Overview ¶
Package version is a companion library to the //version/spec proto.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Release ¶
func Release(rel *spec.Version_Release) string
Release converts a spec.Version's Release field into a SemVer 2.0.0 compatible string in the X.Y.Z form.
func ReleaseLessThan ¶
func ReleaseLessThan(a, b *spec.Version_Release) bool
ReleaseLessThan returns true if Release a is lexicographically smaller than b.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.