version

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version is the current version of the application. Set via linker flags.

Functions

func GetFull

func GetFull(prog string) string

GetFull returns the full version string.

func GetShort

func GetShort() string

GetShort returns the short version string.

Types

type Flag

type Flag struct{ Prog string }

func (Flag) Get

func (Flag) Get() interface{}

func (Flag) IsBoolFlag

func (Flag) IsBoolFlag() bool

func (Flag) Set

func (f Flag) Set(s string) error

func (Flag) String

func (Flag) String() string

Jump to

Keyboard shortcuts

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