Versions in this module Expand all Collapse all v1 v1.0.0 Nov 7, 2021 Changes in this version + func NewPdfGen(mypdf pdf.PDF, genConf *pdfGenConf) export.PDF + func NewPdfGenConf(ctx context.Context, data interface{}, storage gcp.Storage) *pdfGenConf + type BrElemnt struct + H float64 + func (ele *BrElemnt) Generate(p pdf.PDF) error + type Element struct + Type string + type ImageElement struct + Alpha float64 + H float64 + Key string + Perm gcp.Perm + W float64 + X float64 + Y float64 + func (ele *ImageElement) Generate(p pdf.PDF) error + type LineElemnt struct + Style string + Width float64 + func (ele *LineElemnt) Generate(p pdf.PDF) error + type PdfElement interface + Generate func(p pdf.PDF) error + type TextElemnt struct + Align string + Color pdf.Color + Field string + Font string + FontSize int + Split string + Value string + X float64 + Y float64 + func (ele *TextElemnt) Generate(p pdf.PDF) error + func (ele *TextElemnt) Text() string