Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbortWith ¶
func AbortWith(a ...interface{})
AbortWith prints the provided message and ends execution of the program with code 1.
func CheckErrorGeneric ¶
func CheckErrorGeneric(err error)
CheckErrorGeneric aborts if error present with its message. Use for when error is not abnormal.
func CheckErrorPanic ¶
func CheckErrorPanic(err error)
CheckErrorPanic panics when error is present with its message. Use when the presence of the error is not expected under the great majority of circumstances.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.