version

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package version used to specify whole repo version. related version variable are inject via ldflags

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version   string `json:"version"`
	GitCommit string `json:"gitCommit"`
	BuildDate string `json:"buildDate"`
	GoVersion string `json:"GoVersion"`
	Compiler  string `json:"compiler"`
	Platform  string `json:"platform"`
}

Info of version

func Get

func Get() Info

Get version info

func (Info) String

func (i Info) String() string

String formatted

Jump to

Keyboard shortcuts

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