lu4p / cat

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:The Unlicense


Languages

Language:Go 99.0%Language:Shell 1.0%