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.
Directories ¶
Path | Synopsis |
---|---|
Package main implements 'stampgo', a tool to convert build status data into a version.spec.Version proto, which is then embedded into a Go source file.
|
Package main implements 'stampgo', a tool to convert build status data into a version.spec.Version proto, which is then embedded into a Go source file. |
Click to show internal directories.
Click to hide internal directories.