Skip to content
/ cat Public

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

License

Notifications You must be signed in to change notification settings

lu4p/cat

Repository files navigation

GoDoc License CircleCI Go Report Card codecov

cat

This is a simple libary to extract text from plaintext, .docx, .odt 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)
}