Documentation ¶
Overview ¶
Package check provides functions for working with errors and return-values. Provided functions can eliminate boring condition
if err != nil
Package never returns any errors and calls panic() on error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Values ¶
type Values []interface{}
represents return value(s) obtained via Must()
func Must ¶
func Must(args ...interface{}) Values
calls Panic() on last arg, returns remaining does nothing if no args given, returns nil if less than 2 args
Click to show internal directories.
Click to hide internal directories.