printer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TiDBBuildTS   = "None"
	TiDBGitHash   = "None"
	TiDBGitBranch = "None"
)

Version information.

Functions

func GetPrintResult

func GetPrintResult(cols []string, datas [][]string) (string, bool)

GetPrintResult gets a result with a formatted string.

func GetTiDBInfo

func GetTiDBInfo() string

GetTiDBInfo returns the git hash and build time of this tidb-server binary.

func PrintRawTiDBInfo

func PrintRawTiDBInfo()

PrintRawTiDBInfo prints the TiDB version information without log info.

func PrintTiDBInfo

func PrintTiDBInfo()

PrintTiDBInfo prints the TiDB version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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