Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallerN ¶
Returns "FileName:LineNum" of the Nth caller on the call stack, where level of 0 is the caller of CallerN.
func SanitizeUnrepresentableJSON ¶
func SanitizeUnrepresentableJSON(obj interface{}) interface{}
a function to replace unrepresentable numeric values with string representations
Types ¶
type StopChannel ¶
type StopChannel chan bool
a generic channel which can be closed when you want someone to stop doing something
Click to show internal directories.
Click to hide internal directories.