fuzz

package module
v0.0.0-...-2203a81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTooFewRepeat  = errors.New("Counted too few repeat.")
	ErrTooManyRepeat = errors.New("Counted too many repeat.")
)

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator holds base regular expression pattern .

func NewGenerator

func NewGenerator(pattern string, flags syntax.Flags) (*Generator, error)

NewGenerator returns Generator.

func (*Generator) Gen

func (g *Generator) Gen() (string, error)

Gen creates random string matching pattern. TODO(ymotongpoo): replace internal implementation gen with better one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL