internal

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

beta-platform/pkg

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Authors     string
	Owners      string
	LicenseURL  string
	LicenseType string
)
View Source
var (
	VERSION     string
	LONGVERSION string
	Major       = "0"
	Minor       = "0"
	Patch       = "0"
	Revision    = "0-unknown"
	GitCommit   = "$Format:%H$"
	BuildDate   = "1970-01-01T00:00:00Z"
)

Functions

This section is empty.

Types

type CopyrightInfo

type CopyrightInfo struct {
	Authors     string `json:"Authors"`
	Owners      string `json:"Owners"`
	LicenseType string `json:"LicenseType"`
	LicenseURL  string `json:"LicenseURL"`
}

CopyrightInfo data

func GetCopyright

func GetCopyright() *CopyrightInfo

GetCopyright .

type VersionInfo

type VersionInfo struct {
	GitVersion string `json:"GitVersion"`
	GitCommit  string `json:"GitCommit"`
	Major      string `json:"Major"`
	Minor      string `json:"Minor"`
	Patch      string `json:"Patch"`
	Revision   string `json:"Revision"`
	Compiler   string `json:"Compiler"`
	GoVersion  string `json:"GoVersion"`
	Platform   string `json:"Platform"`
	BuildDate  string `json:"BuildDate"`
}

VersionInfo data

func GetVersion

func GetVersion() *VersionInfo

GetVersion .

Jump to

Keyboard shortcuts

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