Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Must ¶
func Must(result ...interface{}) interface{}
Must traps errors and return the remaining results to the caller If there is an error, a panic is issued
func Printf ¶
func Printf(format string, args ...interface{})
Printf print a message to the stderr in red
Types ¶
type Managed ¶
type Managed string
Managed indicates an error that is properly handled (no need to print out stack)
type TemplateNotFoundError ¶
type TemplateNotFoundError struct {
// contains filtered or unexported fields
}
TemplateNotFoundError is returned when a template does not exist
func (TemplateNotFoundError) Error ¶
func (e TemplateNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.