/go-htmlpdf-example

Example of Generation from HTML to PDF

Primary LanguageGo

Example of Conversion from HTML to PDF

Could be useful for Reports, Invoices and others

Examples

  • Simple PDF
  • Table Report (Rows, Cols and Row Counts)

Status

  • Completed

Libraries

Installation

  • Download wkhtmltopdf
  • Install wkhtmltopdf and add to environment variables
  • clone git repository: git clone https://github.com/ortizdavid/go-htmppdf-example
  • Install dependencies: go mod install
  • Run application: go run main.go