6 Commits
Author SHA1 Message Date
guangwu a000b5d069 all: remove refs to deprecated io/ioutil (#140) 2023-09-13 14:33:58 +10:00
Jonathan Ingram 70dbd5cc69 remove path separator from ioutil.TempFile prefix
In [1], from Go1.15 path separators are rejected in ioutil.TempFile.

Refs #87

[1] https://github.com/golang/go/commit/12cd55c062d6062a64076cb37f12ab7646df1be7
2021-04-09 20:23:50 +10:00
Hamish d37fc7c11e support windows temp directories 2020-06-11 14:40:40 -07:00
David Howden 94a2d4dc93 Refactor code into library.
Binary now built from subpackage docconv.
2015-08-10 23:17:50 +10:00
David Howden b4319ff208 Change LocalFile to embed *os.File.
This is to support ConvertDoc when falls back to Docx (and so needs to Seek back to the beginning of the file).
2015-08-09 17:29:26 +10:00
David Howden c9031156e6 Added LocalFile which can be used to avoid unnecessarily creating temporary files. 2015-08-09 17:14:36 +10:00