summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
Diffstat (limited to 'def.go')
-rw-r--r--def.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/def.go b/def.go
index b1dbc8c..3c4d902 100644
--- a/def.go
+++ b/def.go
@@ -486,8 +486,8 @@ type Fpdf struct {
page int // current page number
n int // current object number
offsets []int // array of object offsets
- templates map[int64]Template // templates used in this document
- templateObjects map[int64]int // template object IDs within this document
+ templates map[string]Template // templates used in this document
+ templateObjects map[string]int // template object IDs within this document
buffer fmtBuffer // buffer holding in-memory PDF
pages []*bytes.Buffer // slice[page] of page content; 1-based
state int // current document state