version

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package version contains build time configuration for the CLI, such as version information.

Index

Constants

View Source
const Name = "tfctl"

Name is the application name used throughout the CLI.

Variables

View Source
var (

	// Version defines what version this application is currently running as. It
	// is the publicly used version, which will be prefixed with a `v` if it is
	// a SemVer version.
	Version = publicVersion(version)

	// CommitTime is the exposed time.Time version of the commitTime. It's
	// introduced so we can do time comparison as desired.
	CommitTime = mustParseTime(committedTime)
)

Functions

func Commit

func Commit() string

Commit returns the git commit used for this specific version.

func IsDev

func IsDev() bool

IsDev returns true if the current version is a development version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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