https://github.com/motdotla/doc2pdf
Convert word documents to PDFs. Wrapper for doc2pdf.net.
https://github.com/motdotla/doc2pdf
Last synced: 6 months ago
JSON representation
Convert word documents to PDFs. Wrapper for doc2pdf.net.
- Host: GitHub
- URL: https://github.com/motdotla/doc2pdf
- Owner: motdotla
- Created: 2013-12-22T00:36:02.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-18T00:04:41.000Z (over 11 years ago)
- Last Synced: 2025-04-11T03:14:07.707Z (6 months ago)
- Language: Go
- Size: 176 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# doc2pdf
WARNING: THIS REPO IS CURRENTLY NOT FUNCTIONAL.
Convert Word documents to PDFs. Go wrapper for [doc2pdf.net](http://doc2pdf.net).
[](https://travis-ci.org/scottmotte/doc2pdf)
## Usage
```bash
package mainimport (
"fmt"
doc2pdf "github.com/scottmotte/doc2pdf"
)func main() {
path, err := doc2pdf.Convert("/path/to/word.doc", "/desired/path/to/converted.pdf")
if err != nil {
fmt.Println(err)
}fmt.Println(path)
}
```## Installation
```bash
$ go get github.com/scottmotte/doc2pdf
```## Running Tests
```bash
go test -v
```