14 Commits

Author SHA1 Message Date
Jonathan Ingram 93312f47fc v2: initial commit (#153)
- Some methods have been changed to return an error as their last
  argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00
guangwu a000b5d069 all: remove refs to deprecated io/ioutil (#140) 2023-09-13 14:33:58 +10:00
Andrea Mugellini a3b1ff20f3 doc: channel response before return (#134)
Co-authored-by: Andrea Mugellini <a.mugellini@theswarm.co>
2023-09-13 14:25:53 +10:00
Jonathan Ingram aa395e1332 convert-doc: don't use doc if there was an error (#117)
Avoids panics.
2022-09-05 11:33:11 +10:00
David Howden c8a60e3f4d doc: improve metadata parsing so that titles can be reliably extracted (#99) 2021-08-17 17:41:37 +10:00
Hamish d37fc7c11e support windows temp directories 2020-06-11 14:40:40 -07:00
David Howden 3dad0cb02c fix golint issues
Documentation still needs a lot of work.
2017-06-26 12:16:32 +10:00
Hamish f8faf6b7ad Change meta to pass back all original meta 2017-05-01 20:44:39 +10:00
David Howden 94a2d4dc93 Refactor code into library.
Binary now built from subpackage docconv.
2015-08-10 23:17:50 +10:00
David Howden cfd468ca2c Update ConvertDoc and ConvertDocx to return errors. 2015-08-10 09:48:20 +10:00
David Howden f239ac3bcb Update ConvertDoc to use LocalFile. 2015-08-09 17:29:26 +10:00
David Howden b6e6e9b3bb More refactoring to use more Go-idiomatic naming. 2015-08-09 17:14:36 +10:00
Hamish 3875d3e2a1 Change .doc extraction to use wvText instead of wvHtml
Close #5
2015-01-31 13:33:03 +11:00
Hamish ec8de20751 Initial code commit. Works for all document types 2013-11-01 15:31:50 +11:00