Documentation ¶
Overview ¶
Package colon for parsing colon-separated strings like PATH
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Separator is an identifier for delimiting the target string // Defaults to os.PathListSeparator but you can change anything you want Separator string = string(os.PathListSeparator) ErrInvalid = errors.New("invalid argument") )
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { // Index returns the number of the given character string // separated by Separator Index int Item string Args []string Command string // Errors stacks all errors that occurred during parsing Errors []error }
Result is parsed result
Click to show internal directories.
Click to hide internal directories.