filereader

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TextExtensions = []string{
	".txt", ".md", ".markdown", ".csv", ".tsv",
	".go", ".py", ".js", ".ts", ".java", ".c", ".cpp", ".cs", ".rb", ".php",
	".html", ".css", ".json", ".xml", ".yaml", ".yml", ".toml",
	".sh", ".bash",
	".sql",
}

Functions

func ExtractMSFormats

func ExtractMSFormats(fileName string, data []byte) (string, error)

func ExtractPDFText

func ExtractPDFText(fileName string, data []byte) (string, error)

func ExtractTextFromPDFUsingPopplerWithOptions

func ExtractTextFromPDFUsingPopplerWithOptions(fileName string, timeout time.Duration, data []byte) (string, error)

func Read

func Read(name string, fileData []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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