Extract text from plaintext, .docx, .odt and .rtf files. Pure go.
This is a simple libary to extract text from plaintext, .docx, .odt and .rtf files.
go get -u github.com/lu4p/cat
package main import ( "fmt" "github.com/lu4p/cat" ) func main(){ txt, _ := cat.File("filename") fmt.Println(txt) }