Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.1.0"
Version of Veil
Variables ¶
This section is empty.
Functions ¶
func ToSnake ¶
ToSnake convert the given string to snake case following the Golang format: acronyms are converted to lower-case and preceded by an underscore. via: https://gist.github.com/elwinar/14e1e897fdbe4d3432e1
Types ¶
type Binder ¶
Bindable is the interface for any object that will create a binding for a golang.Package
type CommandError ¶
type CommandError struct {
// contains filtered or unexported fields
}
CommandError is an error used to signal different error situations in command handling.
func NewSystemError ¶
func NewSystemError(a ...interface{}) CommandError
NewSystemError creates a new system related error
func NewSystemErrorF ¶
func NewSystemErrorF(format string, a ...interface{}) CommandError
NewSystemErrorF creates a new system related error with formatting
func NewUserError ¶
func NewUserError(a ...interface{}) CommandError
NewUserError creates a new user input related error
func (CommandError) Error ¶
func (c CommandError) Error() string
Click to show internal directories.
Click to hide internal directories.