/cat

Extract text from plaintext, .docx, .odt, .pdf and .rtf files. Pure go.

Primary LanguageGoThe UnlicenseUnlicense

GoDoc License CircleCI Go Report Card codecov

cat

This is a simple libary to extract text from plaintext, .docx, .odt, .pdf and .rtf files.

Install

go get -u github.com/lu4p/cat

Basic Usage

package main
import (
  "fmt"
  "github.com/lu4p/cat"
)

func main(){
  txt, _ := cat.File("filename")
  fmt.Println(txt)
}