godoc for process package + renaming some of its functions

This commit is contained in:
Julien Neuhart
2018-04-03 11:35:35 +02:00
parent c440aa2957
commit 0966a322d1
2 changed files with 15 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ func (c *Converter) Convert() (string, error) {
var filesPaths []string
for _, f := range c.files {
if f.Type != gfile.PDFType {
path, err := process.ExecConversion(c.workingDir, f)
path, err := process.Unconv(c.workingDir, f)
if err != nil {
return "", err
}
@@ -96,7 +96,7 @@ func (c *Converter) Convert() (string, error) {
return filesPaths[0], nil
}
path, err := process.ExecMerge(c.workingDir, filesPaths)
path, err := process.Merge(c.workingDir, filesPaths)
if err != nil {
return "", err
}