Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface {
RenderInvoicePdf(ctx context.Context, data *pdf.InvoiceData) ([]byte, error)
}
Generator defines the interface for PDF generation operations
func NewGenerator ¶
func NewGenerator(config *config.Configuration, typst typst.Compiler) Generator
NewGenerator creates a new PDF service
Click to show internal directories.
Click to hide internal directories.