Versions in this module Expand all Collapse all v1 v1.0.0 Sep 28, 2022 Changes in this version + func Exists(name string) bool + func Generate(config, input, output string) (*string, error) + type Configuration struct + DateFormat string + FontBody string + FontBodyBold string + FontDescriptorFile string + FontTitle string + Net bool + TextDate1 string + TextDate2 string + TextFooterTitle string + TextTableColumns []string + TextTitle string + func NewConfig(path string) (*Configuration, error) + type Invoice struct + Account string + Client string + ConfigFile string + Currency Rune + Delivered time.Time + Emitted time.Time + ID string + Info string + Name string + Net bool + Services []Service + SumTax bool + Taxes []Tax + func (i *Invoice) PDF(configFile, output string) (*string, error) + func (i *Invoice) Total() float64 + type PDF struct + type Rune rune + func (r *Rune) UnmarshalYAML(n *yaml.Node) error + type Service struct + Description string + Quantity float64 + Unit string + UnitCost float64 + func (s *Service) Amount() float64 + type Tax struct + Description string + Value float64