Barcode.Go

Pure Go barcode library — Easy 2 Steps × 4 output modes

Easy 2 Steps
1
Create barcode
qr := barcode.NewQRCode("png")
2
Draw!
qr.Draw(code, 300)

PDF/Canvas output uses + renderer = 3 steps

URL, text, or numbers

Base64 PNG gg renderer
SVG Draw() → GetSVG()
PDF Invoice gopdf renderer
Canvas gg + Graphics
</> CODE
PREVIEW
All 18 barcode types and full API: Manual