Versions in this module Expand all Collapse all v0 v0.1.2 Apr 18, 2024 v0.1.1 Apr 18, 2024 Changes in this version + func DetectFileType(r io.Reader) string + func Dump(path, content string) + func ExtractArchiveContent(path string, filter Filter) (*[]MemberFileContent, error) + func ExtractArchiveContentFromReader(r io.Reader, size int64, filter Filter) (*[]MemberFileContent, error) + func FatalExit(msg string) + func GetFileExtension(filename string) string + func GetReaderAt(r io.Reader) io.ReaderAt + func GetTrueFileType(fp string) (string, error) + func RetrieveText(r io.Reader, size int64) (string, error) + func RetrieveTextFromFile(path string) (string, error) + type DocumentParser interface + type DocxParser struct + Content []MemberFileContent + type Docx_Body struct + Paragraphs []Docx_Paragraph + XMLName xml.Name + type Docx_Doc struct + Bodies []Docx_Body + XMLName xml.Name + type Docx_Paragraph struct + Runs []Docx_Run + XMLName xml.Name + type Docx_Run struct + Text string + XMLName xml.Name + type Filter func(string) bool + type MemberFileContent struct + Data []byte + Identifier string