This is a simple libary to extract text from plaintext, .docx, .odt, .pdf 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)
}
Extract text from plaintext, .docx, .odt, .pdf and .rtf files. Pure go.
This is a simple libary to extract text from plaintext, .docx, .odt, .pdf 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)
}
Extract text from plaintext, .docx, .odt, .pdf and .rtf files. Pure go.
The Unlicense