Registry / utility / go-pdf-fpdf

go-pdf-fpdf

JSON →
library1.4.3gogounverified

Package fpdf implements a PDF document generator with high level support for text, drawing and images.

go get github.com/go-pdf/fpdf
INSTALL
IMPORT
SIG · GO-PDF-FPDF
G
go-pdf-fpdf
utilitygov1.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fpdf
github.com/go-pdf/fpdf

Generate a simple PDF with text.

package main import ( "github.com/go-pdf/fpdf" ) func main() { pdf := fpdf.New("P", "mm", "A4", "") pdf.AddPage() pdf.SetFont("Arial", "B", 16) pdf.Cell(40, 10, "Hello, world!") pdf.OutputFileAndClose("hello.pdf") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-pdf-fpdf — go get go-pdf-fpdf · libregistry