version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version of the application.
	// This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.Version=v1.0.0"
	Version = "dev"

	// BuildTime is the build time of the application.
	// This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.BuildTime=..."
	BuildTime = "unknown"

	// GitCommit is the git commit hash of the build.
	// This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.GitCommit=..."
	GitCommit = "unknown"

	// GitTag is the git tag of the build (if any).
	// This should be set via build flags: -ldflags="-X github.com/bonkzero404/uddin-lang/internal/version.GitTag=..."
	GitTag = ""

	// GoVersion is the Go version used to build the application.
	GoVersion = runtime.Version()
)

Functions

func GetVersion

func GetVersion() string

GetVersion returns the full version information string.

func GetVersionShort

func GetVersionShort() string

GetVersionShort returns the short version string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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