Documentation ¶
Index ¶
- type Option
- type RSchema
- func (*RSchema) AddRule(string, schema.Rule) error
- func (*RSchema) AddType(string, schema.Schema) error
- func (s *RSchema) Check() error
- func (s *RSchema) Compile() error
- func (s *RSchema) Example() ([]byte, error)
- func (s *RSchema) GetAST() (schema.ASTNode, error)
- func (s *RSchema) Len() (uint, error)
- func (s *RSchema) Pattern() (string, error)
- func (*RSchema) UsedUserTypes() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*RSchema)
func WithGeneratorSeed ¶
WithGeneratorSeed pass specific seed to regex example generator. Necessary for test.
Click to show internal directories.
Click to hide internal directories.