Versions in this module Expand all Collapse all v0 v0.2.0 May 9, 2024 v0.1.1 Nov 16, 2022 Changes in this version + type Option func(*RSchema) + func WithGeneratorSeed(seed int64) Option + type RSchema struct + File *fs.File + RE *regexp.Regexp + func FromFile(f *fs.File, oo ...Option) *RSchema + func New(name string, content T, oo ...Option) *RSchema + func (*RSchema) AddRule(string, schema.Rule) error + func (*RSchema) AddType(string, schema.Schema) error + func (*RSchema) UsedUserTypes() ([]string, 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)