extractor

package
v0.0.0-...-85e67b9 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	ID      string
	Content string
}

type Document

type Document struct {
	Name string

	Blocks []Block
}

type ExtractOptions

type ExtractOptions struct {
}

type File

type File struct {
	ID string

	Name    string
	Content io.Reader
}

type Provider

type Provider interface {
	Extract(ctx context.Context, input File, options *ExtractOptions) (*Document, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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