Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpJSON ¶
func DumpJSON(data interface{})
DumpJSON dumps a pretty printed JSON representation of the given data to stdout.
Types ¶
type BoolErrList ¶
type BoolErrList []be
BoolErrList piles up a tuples of success values and errors.
func (*BoolErrList) Append ¶
func (l *BoolErrList) Append(b bool, e error)
Append adds a tuple of a success value and an error to the list.
func (BoolErrList) Reduce ¶
func (l BoolErrList) Reduce() (bool, error)
Reduce returns the first error in the list. If there is no error it returns if there is a no-sucess value.
Click to show internal directories.
Click to hide internal directories.