Home

Awesome

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)
}