I saw this Tyler, and it’s awesome. I forked it already though I’m not a Go programmer thank you for increasing the community here (
CC’ing Jim Jag who I know has done some Go programming, Jim spread the word ;) Cheers, Chris On 10/6/17, 10:12 AM, "Tyler Bui-Palsulich" <[email protected]> wrote: (Bumping this since it looks like the first message didn't go through.) Tyler On Mon, Oct 2, 2017 at 1:27 PM, Tyler Bui-Palsulich <[email protected]> wrote: > Hi Everyone, > > I am happy to announce go-tika, a Go package which makes it easy to use > Tika from Go! See https://github.com/google/go-tika and the corresponding > GoDoc <https://godoc.org/github.com/google/go-tika/tika>. I marked a > release as 0.1.16, indicating the latest version supported by the package. > > I added a link to the wiki (https://wiki.apache.org/tika/ > API%20Bindings%20for%20Tika). > > Here is the relevant bit for how to parse a file: > > f, err := os.Open("path/to/file") > if err != nil { > log.Fatal(err) > } > defer f.Close() > > client := tika.NewClient(nil, s.URL()) > body, err := client.Parse(context.Background(), f) > > Hopefully this is useful for someone! Feel free to file an issue if you > have a question or spot a bug. > > Thanks to Chris et al. for inspiration with tika-python. > > Tyler >
