fix: remove internal package and move it to cmd (#321)

This commit is contained in:
Julien Neuhart
2021-08-23 18:33:26 +02:00
committed by GitHub
parent 551faca3a3
commit 5a439ca70c
4 changed files with 12 additions and 11 deletions

View File

@@ -1,16 +1,12 @@
package main
import (
gotenbergapp "github.com/gotenberg/gotenberg/v7/internal/app/gotenberg"
gotenbergcmd "github.com/gotenberg/gotenberg/v7/cmd"
// Gotenberg modules.
_ "github.com/gotenberg/gotenberg/v7/pkg/standard"
// PDF engines.
_ "github.com/gotenberg/gotenberg/v7/pkg/modules/libreoffice/pdfengine"
_ "github.com/gotenberg/gotenberg/v7/pkg/modules/pdfcpu"
_ "github.com/gotenberg/gotenberg/v7/pkg/modules/pdftk"
)
func main() {
gotenbergapp.Run()
gotenbergcmd.Run()
}