Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWrongInputError = errgo.New("wrong input")
)
Functions ¶
func ExitStderr ¶
func ExitStderr(err error)
ExitStderr exits the process with code 1 and prints output to Stderr, using the error message of err. If --debug is set to true, a helpful error will be printed.
func ExitStderrf ¶
func ExitStderrf(f string, v ...interface{})
ExitStderrf exits the process with code 1 and print output to Stderr, using all objects of v in format f. If --debug is set to true, helpful errors will be printed if given.
func ExitStdoutf ¶
func ExitStdoutf(f string, v ...interface{})
ExitStdoutf exits the process with code 0 and print output to Stdout, using all objects of v in format f.
func NewYochuCmd ¶
NewYochuCmd returns a Cobra command to run Yochu.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.