Documentation
¶
Index ¶
- Variables
- func Exit(status int)
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Fatalln(v ...interface{})
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func SetExiter(e Exiter)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func Traceln(v ...interface{})
- type DefaultExiter
- type Exiter
- type Response
- type Sensitive
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = (os.Getenv("DEBUG") == "1" || os.Getenv("DEBUG") == "2" || os.Getenv("DEBUG") == "3")
Debug true if environment variable DEBUG is set to 1, 2 or 3
View Source
var DebugResponse = os.Getenv("DEBUG") == "3"
DebugResponse true if environment variable DEBUG is set to 3
View Source
var DebugSensitive = (os.Getenv("DEBUG") == "2" || os.Getenv("DEBUG") == "3")
DebugSensitive true if environment variable DEBUG is set to 2 or 3
Functions ¶
func Fatalf ¶
func Fatalf(format string, v ...interface{})
Fatalf prints formatted value and exits with status 1
Types ¶
Click to show internal directories.
Click to hide internal directories.