version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package version holds the single CLI version string.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the CLI version — reported by `--version`, embedded in the User-Agent header, and published in the commands catalog. It is injected at release build time via the linker:

-ldflags "-X github.com/korbit-official/korbit-cli/internal/version.Version=<tag>"

(the release pipeline feeds it the git tag). A plain `go build` / `go run` from source leaves the "dev" default. It is therefore a var, not a const: `-X` can only overwrite a string variable.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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