Versions in this module Expand all Collapse all v0 v0.1.0 Nov 17, 2021 Changes in this version + const ContentType + type Generator interface + Draw func(input []byte, canvas *svg.SVG) + Id func() string + Size func() uint + Write func(input []byte, writer io.Writer) + type Registry struct + func EmptyRegistry() *Registry + func NewRegistry(generators ...Generator) *Registry + func (r *Registry) Get(id string) Generator + func (r *Registry) Ids() []string + func (r *Registry) Register(generator Generator)