output

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2017 License: MIT Imports: 3 Imported by: 0

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.

func Debug added in v0.3.1

func Debug(a ...interface{})

func Warn added in v0.3.1

func Warn(a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL