Documentation ¶
Index ¶
- func Dump(path, content string)
- func ExtractArchiveContent(path string, filter Filter) (*[]MemberFileContent, error)
- func FatalExit(msg string)
- func GetFileExtension(filename string) string
- func GetTrueFileType(fp string) (string, error)
- func RetrieveTextFromFile(path string) (string, error)
- type DocumentParser
- type DocxParser
- type Docx_Body
- type Docx_Doc
- type Docx_Paragraph
- type Docx_Run
- type Filter
- type MemberFileContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractArchiveContent ¶
func ExtractArchiveContent(path string, filter Filter) (*[]MemberFileContent, error)
func GetFileExtension ¶
func GetTrueFileType ¶
func RetrieveTextFromFile ¶
Types ¶
type DocumentParser ¶
type DocumentParser interface {
// contains filtered or unexported methods
}
type DocxParser ¶
type DocxParser struct {
Content []MemberFileContent
}
type Docx_Body ¶
type Docx_Body struct { XMLName xml.Name `xml:"body"` Paragraphs []Docx_Paragraph `xml:"p"` }
type Docx_Paragraph ¶
type MemberFileContent ¶
Click to show internal directories.
Click to hide internal directories.