version

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Command = "version"

Command is the option for plugin to print the version

Variables

View Source
var GitPorcelain string

GitPorcelain indicates the output of the git status --porcelain command to determine the cleanliness of the git repo when this plugin was built

View Source
var GitShortHash string

GitShortHash is the short hash of this repository build

View Source
var Version string

Version is the version number of the repository

Functions

func String

func String() (string, error)

String returns a JSON version string from the versionInfo type

Types

This section is empty.

Jump to

Keyboard shortcuts

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