version

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(ver, commit, buildDate string) string

Format formats a version string with the given information.

func VersionCmd

func VersionCmd(cfg *config.Config, ver, commit, buildDate string) *cobra.Command

VersionCmd encapsulates the commands for showing a version

Types

This section is empty.

Jump to

Keyboard shortcuts

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