version

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package version can be used to implement embedding versioning details from git branches and tags into the binary importing this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() string

Build shows the service's build information.

func Parse

func Parse() string

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

func Show

func Show(serviceName string)

Show the service's version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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