common

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version current version - semantic format
	Version string
	// BuildTime time of the build
	BuildTime string
)

Functions

This section is empty.

Types

type VersionInfo

type VersionInfo struct {
	Version   string `json:"version"`
	BuildTime string `json:"build_time"`
}

VersionInfo holds the information about current app version

func GetCurrentVersion

func GetCurrentVersion() VersionInfo

GetCurrentVersion returns information about current version of the app

func (VersionInfo) String

func (v VersionInfo) String() string

Jump to

Keyboard shortcuts

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