version

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: 0BSD, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const License = `` /* 616-byte string literal not displayed */

Variables

This section is empty.

Functions

func Get

func Get() string

Get tries to parse VCS information encoded in the running executable to return a Go pseudo-version string. The pseudo-version string is suffixed with "+modified" if the VCS information reports an unclean state. On failure the value "unknown" or the revision's ID is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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