cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func GetCommit

func GetCommit() string

GetCommit returns the git commit hash

func GetDate

func GetDate() string

GetDate returns the build date

func GetVersion

func GetVersion() string

GetVersion returns the semantic version string

func IsDebugBuild

func IsDebugBuild() bool

IsDebugBuild returns true if this is a dev build (not set via ldflags)

func SetVersionInfo

func SetVersionInfo(version, commit, date string)

SetVersionInfo is called by main.go to populate 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