version

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

Version Info

Version

The VERSION constant records the current version info.

Commit

The commit file records the commit hash value of release, it is used for release build.

Please do not commit the commit file after it changes, and keep it empty in the git repository.

GoVersion

Print the version of Go being used, as well as the operating system and architecture targets of the running program.

Documentation

Index

Constants

View Source
const VERSION = "v0.8.2"

VERSION the current program version info

Variables

View Source
var Commit string

Commit the commit file records the last commit hash value, used by release

Functions

func PrintVersion

func PrintVersion(name string, out func(format string, args ...any))

PrintVersion print the current version info, and append the commit info if the commit file is not empty

Types

This section is empty.

Jump to

Keyboard shortcuts

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