extractorfuncs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirstMatchExtractor

type FirstMatchExtractor[T any] struct {
	// contains filtered or unexported fields
}

func NewFirstMatchExtractor

func NewFirstMatchExtractor[T any](
	regex *regexp.Regexp,
	deserializerFn func(rawStr string) (T, error),
) *FirstMatchExtractor[T]

func (*FirstMatchExtractor[T]) ExtractFirstMatch

func (de *FirstMatchExtractor[T]) ExtractFirstMatch(pages []pdfwrapper.Page) (T, error)

Jump to

Keyboard shortcuts

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