printer

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: Apache-2.0 Imports: 6 Imported by: 583

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TiDBBuildTS   = "None"
	TiDBGitHash   = "None"
	TiDBGitBranch = "None"
	GoVersion     = "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