mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
feat(main): add dedicated Go entrypoints for libreoffice / chromium only variants
This commit is contained in:
3
pkg/standard/chromium/doc.go
Normal file
3
pkg/standard/chromium/doc.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// Package chromium imports the application's modules for the Chromium-only
|
||||
// variant (no LibreOffice).
|
||||
package chromium
|
||||
14
pkg/standard/chromium/imports.go
Normal file
14
pkg/standard/chromium/imports.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package chromium
|
||||
|
||||
import (
|
||||
// Gotenberg modules (Chromium variant — no LibreOffice).
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/api"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/chromium"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/exiftool"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/pdfcpu"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/pdfengines"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/pdftk"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/prometheus"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/qpdf"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/webhook"
|
||||
)
|
||||
3
pkg/standard/libreoffice/doc.go
Normal file
3
pkg/standard/libreoffice/doc.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// Package libreoffice imports the application's modules for the
|
||||
// LibreOffice-only variant (no Chromium).
|
||||
package libreoffice
|
||||
16
pkg/standard/libreoffice/imports.go
Normal file
16
pkg/standard/libreoffice/imports.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package libreoffice
|
||||
|
||||
import (
|
||||
// Gotenberg modules (LibreOffice variant — no Chromium).
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/api"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/exiftool"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/libreoffice"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/libreoffice/api"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/libreoffice/pdfengine"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/pdfcpu"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/pdfengines"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/pdftk"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/prometheus"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/qpdf"
|
||||
_ "github.com/gotenberg/gotenberg/v8/pkg/modules/webhook"
|
||||
)
|
||||
Reference in New Issue
Block a user