diff options
| author | Shulhan <ms@kilabit.info> | 2024-08-13 07:35:12 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-08-13 07:38:35 +0700 |
| commit | b8fdcc2be2fcae1bfd3dd62b8bc2d4abe75e78d0 (patch) | |
| tree | 6572805cdfff4a9fa6c2a17337c977ae4a202674 /document.go | |
| parent | 741463b99f14f1869c804cd4c6b15be155a7c27e (diff) | |
| download | asciidoctor-go-b8fdcc2be2fcae1bfd3dd62b8bc2d4abe75e78d0.tar.xz | |
all: rename struct "AttributeEntry" to "DocumentAttribute"
This is to make the struct is clear that it represent the document
attribute.
Diffstat (limited to 'document.go')
| -rw-r--r-- | document.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/document.go b/document.go index 47d2c85..50be70f 100644 --- a/document.go +++ b/document.go @@ -31,7 +31,7 @@ type Document struct { preamble *element content *element - Attributes AttributeEntry + Attributes DocumentAttribute sectnums *sectionCounters // titleID is the reverse of anchors, it contains mapping of title and @@ -76,7 +76,7 @@ func newDocument() (doc *Document) { TOCLevel: defTOCLevel, tocClasses: attributeClass{}, tocTitle: defTOCTitle, - Attributes: newAttributeEntry(), + Attributes: newDocumentAttribute(), classes: attributeClass{}, anchors: make(map[string]*anchor), titleID: make(map[string]string), |
