version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package version provides version information for spotctl.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version of the build
	Version = "dev"

	// Commit is the git commit hash of the build
	Commit = ""

	// BuildDate is the date when the binary was built
	BuildDate = ""

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

These variables are set via ldflags during build time

Functions

func GetVersion

func GetVersion() string

GetVersion returns the version string (just the version/tag)

Types

This section is empty.

Jump to

Keyboard shortcuts

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