Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigXRay ¶
func ErrorCheck ¶
func ErrorCheck(err interface{}, msg string)
ErrorCheck prints the err and msg to the logger if err != nil.
func ErrorCheckExit ¶
func ErrorCheckExit(err interface{}, msg string)
ErrorCheckExit calls ErrorCheck with the (err, msg) pair and exit the program with a non-zero return code if err != nil.
func Logger ¶
func Logger() *zap.SugaredLogger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.