Documentation ¶
Index ¶
- Constants
- Variables
- func CopyFile(src, dest string) error
- func ErrorCat(sv ...string) error
- func PathDirExists(p string) bool
- func PathExists(p string) bool
- func StrCat(sv ...string) string
- func StrSplitSkipEmpty(s string, sep byte, suggestcap int) []string
- type ArgvParser
- type Derivator
- type Receiver
Constants ¶
View Source
const ( REQUIRED int = iota NOARG OPTIONAL )
option argument type
Variables ¶
View Source
var ( ErrNilArgv = errors.New("argv is nil") ErrUnExpectedArg = errors.New("unexpected argument '-'") )
error
Functions ¶
Types ¶
type ArgvParser ¶
type ArgvParser struct { SubcmdMode bool // subcmd mode // contains filtered or unexported fields }
ArgvParser todo
Click to show internal directories.
Click to hide internal directories.