mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-15 03:42:15 +01:00
fix: remove internal package and move it to cmd (#321)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user