loader

package
v0.0.4-beta2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SourceMetadataKey = "source"
)

Variables

View Source
var (
	ErrPdfToTextNotFound = fmt.Errorf("pdftotext not found")
)
View Source
var (
	ErrorInternal = fmt.Errorf("internal error")
)

Functions

func NewDirectoryLoader

func NewDirectoryLoader(dirname string, regExPathMatch string) (*directoryLoader, error)

func NewPDFToTextLoader added in v0.0.4

func NewPDFToTextLoader(pdfToTextPath, path string) (*pdfLoader, error)

func NewTextLoader

func NewTextLoader(filename string, metadata types.Meta) (*textLoader, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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