Documentation ¶
Index ¶
Constants ¶
View Source
const Pipe = '|'
Variables ¶
View Source
var ( ErrTooManyArgs = errors.New("too many args") ErrTooFewArgs = errors.New("too few args") )
View Source
var ArgBytes = argBytes{}
View Source
var ArgInt = argInt{}
View Source
var ArgStr = argStr{}
View Source
var (
ErrInvalidSyntax = errors.New("invalid syntax")
)
View Source
var (
ErrUnclosedBracket = errors.New("unclosed bracket")
)
Functions ¶
func OriginalErr ¶
Types ¶
type ArgVariadic ¶
type ArgVariadic struct {
Arg Parser
}
func (ArgVariadic) Empty ¶
func (ArgVariadic) Empty() (interface{}, error)
type EmptyParser ¶
type EmptyParser interface {
Empty() (interface{}, error)
}
type ErrDetails ¶
func (ErrDetails) Error ¶
func (e ErrDetails) Error() string
Click to show internal directories.
Click to hide internal directories.