summaryrefslogtreecommitdiff
path: root/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'template.go')
-rw-r--r--template.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/template.go b/template.go
index 60b076b..2b886ed 100644
--- a/template.go
+++ b/template.go
@@ -18,6 +18,7 @@ package gofpdf
*/
import (
+ "encoding/gob"
"sort"
)
@@ -107,6 +108,8 @@ type Template interface {
Bytes() []byte
Images() map[string]*ImageInfoType
Templates() []Template
+ gob.GobDecoder
+ gob.GobEncoder
}
func (f *Fpdf) templateFontCatalog() {