package
Version:
v2.0.0-...-f8969c1
Opens a new window with list of versions in this module.
Published: Mar 4, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AssertTrue asserts that b is true. Otherwise, it would log fatal.
func AssertTruef(b bool, format string, args ...interface{})
AssertTruef is AssertTrue with extra info.
Check logs fatal if err != nil.
func Check2(_ interface{}, err error)
Check2 acts as convenience wrapper around Check, using the 2nd argument as error.
func Checkf(err error, format string, args ...interface{})
Checkf is Check with extra info.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.