version

package
v0.0.0-...-8d377ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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(v *spec.Version) string

Release converts a spec.Version's Release field into a SemVer 2.0.0 compatible string in the X.Y.Z form.

func Semver

func Semver(v *spec.Version) string

Semver converts a spec.Version proto message into a SemVer 2.0.0 compatible string.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL