huge refactoring

This commit is contained in:
Julien Neuhart
2019-07-23 13:57:18 +02:00
parent f6b357691c
commit 7bfbda4490
105 changed files with 4051 additions and 2667 deletions

18
test/cmd/pm2/pm2.go Normal file
View File

@@ -0,0 +1,18 @@
package main
import (
"github.com/thecodingmachine/gotenberg/internal/pkg/pm2"
"github.com/thecodingmachine/gotenberg/test/internalpkg/xlogtest"
)
func main() {
logger := xlogtest.DebugLogger()
process := pm2.NewChromeProcess(logger)
if err := process.Start(); err != nil {
panic(err)
}
process = pm2.NewUnoconvProcess(logger)
if err := process.Start(); err != nil {
panic(err)
}
}