Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentManager ¶ added in v0.31.0
type ContentManager interface {
Page(ctx context.Context, key string) (PageContent, error)
}
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(content ContentManager) *Generator
func (*Generator) GenerateInvoice ¶
type PageContent ¶ added in v0.31.0
type PageContent struct { LastUpdated time.Time Heading string Body RichTextContent }
type RichTextContent ¶ added in v0.31.0
type RichTextContent struct { NodeType string Value string Data any Content []RichTextContent }
Click to show internal directories.
Click to hide internal directories.