build

package
v4.0.15+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 63

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReleaseVersion = "v4.0.0-dev"
	BuildTS        = "None"
	GitHash        = "None"
	GitBranch      = "None"
)

Version information.

Functions

func Info

func Info() string

Info returns version information.

func LogInfo

func LogInfo(name AppName)

LogInfo logs version information.

Types

type AppName

type AppName string

AppName is a name of a built binary.

var (
	// BR is the name of BR binary.
	BR AppName = "Backup & Restore (BR)"
	// Lightning is the name of Lightning binary.
	Lightning AppName = "TiDB-Lightning"
)

Jump to

Keyboard shortcuts

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