vcs

package
v0.0.0-...-fb0220b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Revision

func Revision() string

Revision returns the current VCS revision of the build. It reads the build information to extract the VCS revision and checks if the source code was modified.

Returns:

string - The VCS revision. If the source code was modified, "-dirty" is appended to the revision.

Types

This section is empty.

Jump to

Keyboard shortcuts

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