version

package
v0.0.0-...-ea1d8b2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	ProgramName string
	Release     uint8
	Fixpack     uint8
	Hotfix      uint8

	BuildNumber string
}

Version indicates the program version information

func DefaultVersion

func DefaultVersion(progName string, buildNumber string) *Version

DefaultVersion ...

func (*Version) FullVersion

func (v *Version) FullVersion() string

FullVersion ...

func (*Version) GoVersion

func (v *Version) GoVersion() string

Go version

func (*Version) Platform

func (v *Version) Platform() string

Get Platform

func (*Version) ShortVersion

func (v *Version) ShortVersion() string

ShortVersion returns a version string as 1.2.0

Jump to

Keyboard shortcuts

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