Documentation ¶ Index ¶ func WriteInvoicePDF(invoice *models.Invoice, outputPDFPath string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WriteInvoicePDF ¶ func WriteInvoicePDF(invoice *models.Invoice, outputPDFPath string) error WriteInvoicePDF - Based on the defined Invoice model, this function takes care of the fields it needs to write in the PDF. It prints and formats them based on the configuration. Types ¶ This section is empty. Source Files ¶ View all Source files pdfwriter.go Click to show internal directories. Click to hide internal directories.