Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fmt = func(format string, a ...interface{}) string { if len(a) == 0 { return format } return fmt.Sprintf(format, a...) }
Like fmt.Sprintf, but skips formatting if args are empty.
Functions ¶
func PanicSanity ¶
func PanicSanity(v interface{})
A panic resulting from a sanity check means there is a programmer error and some guarantee is not satisfied. XXX DEPRECATED
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.