version

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse added in v0.5.0

func Parse() string

Parse returns the parsed service's version information. (from raw git label)

Types

type Git added in v0.5.0

type Git struct {
	ClosestTag   string
	CommitsAhead int
	Sha          string
}

Git contains the version information extracted from a Git SHA.

func Current added in v0.5.0

func Current() Git

Current version with the Git information.

func (Git) String added in v0.5.0

func (g Git) String() string

Jump to

Keyboard shortcuts

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