Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDone error
)
Functions ¶
func MaxParallel ¶
func MaxParallel(elems []func(), max int)
Types ¶
type Parallel ¶
type Parallel struct {
// contains filtered or unexported fields
}
func (Parallel) Match ¶
func (p Parallel) Match() ParallelInfo
type ParallelInfo ¶
type ParallelInfo struct {
// contains filtered or unexported fields
}
func (*ParallelInfo) Step ¶
func (pi *ParallelInfo) Step(char *rune)
type StateMachiner ¶
type WordMatcher ¶
type WordMatcher struct {
// contains filtered or unexported fields
}
func NewWordMatcher ¶
func NewWordMatcher(word string) (*WordMatcher, error)
func (WordMatcher) Match ¶
func (wm WordMatcher) Match() WordMatcherInfo
func (WordMatcher) Size ¶
func (wm WordMatcher) Size() int
type WordMatcherInfo ¶
type WordMatcherInfo struct {
// contains filtered or unexported fields
}
func (*WordMatcherInfo) Err ¶
func (wmi *WordMatcherInfo) Err() error
func (*WordMatcherInfo) IsDone ¶
func (wmi *WordMatcherInfo) IsDone() bool
func (*WordMatcherInfo) Step ¶
func (wmi *WordMatcherInfo) Step(char *rune)
Click to show internal directories.
Click to hide internal directories.