package
Version:
v2.2.0+incompatible
Opens a new window with list of versions in this module.
Published: May 4, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
LogFatalf is used to define the fatal error handler function. In unit tests, this is used to
mock out fatal errors so we can test for them.
Error extracts the if err != nil check. If the given error is not nil it will call
the defined fatal error handler function.
Fatal is a wrapper for LogFatalf function. It's used to throw a Fatal in case it needs to.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.