Versions in this module Expand all Collapse all v1 v1.0.2 Aug 26, 2025 v1.0.1 Aug 26, 2025 Changes in this version + const MetaKeySource + func GetImplSpecificOptions[T any](base *T, opts ...Option) *T + type ExtParser struct + func NewExtParser(ctx context.Context, conf *ExtParserConfig) (*ExtParser, error) + func (p *ExtParser) GetParsers() map[string]Parser + func (p *ExtParser) Parse(ctx context.Context, reader io.Reader, opts ...Option) ([]*schema.Document, error) + type ExtParserConfig struct + FallbackParser Parser + Parsers map[string]Parser + type Option struct + func WithExtraMeta(meta map[string]any) Option + func WithURI(uri string) Option + func WrapImplSpecificOptFn[T any](optFn func(*T)) Option + type Options struct + ExtraMeta map[string]any + URI string + func GetCommonOptions(base *Options, opts ...Option) *Options + type Parser interface + Parse func(ctx context.Context, reader io.Reader, opts ...Option) ([]*schema.Document, error) + type TextParser struct + func (dp TextParser) Parse(ctx context.Context, reader io.Reader, opts ...Option) ([]*schema.Document, error)