diff options
Diffstat (limited to 'template.go')
-rw-r--r-- | template.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template.go b/template.go index 0bb7f75..d27bc40 100644 --- a/template.go +++ b/template.go @@ -18,6 +18,7 @@ package gofpdf */ import ( + "encoding/gob" "sort" ) @@ -123,6 +124,9 @@ type Template interface { Bytes() []byte Images() map[string]*ImageInfoType Templates() []Template + Serialize() ([]byte, error) + gob.GobDecoder + gob.GobEncoder } func (f *Fpdf) templateFontCatalog() { |