Versions in this module Expand all Collapse all v0 v0.1.0 Sep 5, 2026 Changes in this version + func Decimal(text string) decimal.Decimal + func WritePDF(doc *Printout, path string, options ...pdf.Option) error + type FontCheck = build.FontCheck + type Info struct + Author string + Columns int + Data []string + Description string + Fonts []string + Groups []string + Members []string + Name string + Page printout.PageGeometry + Parameters []Parameter + Subreports []string + Variables []string + Version string + type Option func(*build.Options) + func AllowOverflow() Option + func StrictFonts() Option + func WithBuildTime(when time.Time) Option + func WithDiagnostics(fn func(string)) Option + func WithParam(name string, value any) Option + func WithTextParam(name, value string) Option + type Parameter struct + Default string + HasDefault bool + HasDefaultExpr bool + Name string + Prompt bool + Required bool + Type string + type Printout = printout.Printout + type Template struct + func LoadTemplate(path string) (*Template, error) + func ParseTemplate(name, source string) (*Template, error) + func (tpl *Template) Build(records any, options ...Option) (*Printout, error) + func (tpl *Template) BuildJSON(reader io.Reader, options ...Option) (*Printout, error) + func (tpl *Template) CheckFonts(options ...Option) (*FontCheck, error) + func (tpl *Template) Info() Info + func (tpl *Template) Name() string + func (tpl *Template) Warnings() []string