information

package
v0.0.0-...-019b488 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Unlicense Imports: 1 Imported by: 0

Documentation

Overview

Package information on project

Index

Constants

This section is empty.

Variables

View Source
var (
	Version     = "No Version Provided"
	GitCommit   = "No GitCommit Provided"
	GitDescribe = "No GitDescribe Provided"
	GitDirty    = "No GitDirty Provided"
	BuildTime   = "No BuildTime Provided"
)

We use ldflags

View Source
var MetaDataValue = &MetaData{}

MetaDataValue on the current application

Functions

func Print

func Print() string

Print information on project

Types

type MetaData

type MetaData struct {
	Version     string
	GitCommit   string
	GitDescribe string
	GitDirty    string
	BuildTime   string
}

MetaData on the application

Jump to

Keyboard shortcuts

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