version_runner

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(versionInfo VersionInfo) error

Run executes the command to get version and prints it into stdout

Types

type VersionInfo

type VersionInfo struct {
	Version string
	Date    string
}

VersionInfo houses all info regarding to the version. It is here to avoid global variables in this package.

Jump to

Keyboard shortcuts

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