adoc/document/document.go

23 lines
333 B
Go
Raw Normal View History

2022-06-11 09:30:22 +02:00
package document
import (
"time"
2024-03-08 09:15:03 +01:00
"code.ewintr.nl/adoc/element"
2022-06-11 09:30:22 +02:00
)
type Document struct {
Title string
Attributes map[string]string
Author string
Date time.Time
Content []element.Element
}
func New() *Document {
return &Document{
Attributes: map[string]string{},
Content: []element.Element{},
}
}