common

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLoginFailed = fmt.Errorf("login failed")
View Source
var ErrNeedLogin = fmt.Errorf("need login")
View Source
var IsDebug1 = false //
View Source
var IsDebug2 = false // todo
View Source
var IsDebug3 = false // http response
View Source
var MySQLKeywords = []string{}/* 232 elements not displayed */

SELECT * FROM mysql.help_keyword;

Functions

func Debug added in v0.2.0

func Debug(format string, a ...interface{})

func Debug2 added in v0.2.0

func Debug2(format string, a ...interface{})

func Debug3 added in v0.2.0

func Debug3(format string, a ...interface{})

func Error

func Error(err error)

func Exit added in v0.2.0

func Exit(err error)

func Info

func Info(format string, a ...interface{})

func InitLog added in v0.2.0

func InitLog(logPath string)

func Logf added in v0.2.0

func Logf(format string, a ...interface{})

func Warn

func Warn(format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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