Documentation ¶
Overview ¶
Package xjlm is a package of general helpers for golang development. The functions/types in this package are subject to change often.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrIgnore ¶
func CheckErrIgnore(err error)
CheckErrPanic ignores the given error. It is equivalent to a noop.
func CheckErrLog ¶
func CheckErrLog(err error)
CheckErrLog logs the error if the given error is non-nil
func CheckErrPanic ¶
func CheckErrPanic(err error)
CheckErrPanic panics if the given error is non-nil
func CurrentDir ¶
func CurrentDir() string
CurrentDir returns the current directory of the calling code
func RelativeDir ¶
RelativeDir returns the fully qualified path of the given relative directory path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.