version

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: GPL-3.0 Imports: 1 Imported by: 5

Documentation

Overview

Package version is the version of the tool that imports it: stamped at release, else the module version from a go install, else "dev". Every tool stamps the same two variables:

-X github.com/katbyte/go-kt/version.Version={{ .Tag }}
-X github.com/katbyte/go-kt/version.GitCommit={{ .ShortCommit }}

Build info reports the main module's version, so a tool built on go-kt reports its own tag.

Index

Constants

This section is empty.

Variables

View Source
var GitCommit string

GitCommit is the short commit the binary was built from, when stamped.

View Source
var Version = "dev"

Version is the release version, never blank: an -X flag given an empty value has happened before.

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