From e200d3e7c7ef20b29a47b67e58b7561f4099e7ae Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 1 Nov 2018 11:51:50 -0400 Subject: Explain in documentation why CreateTemplate() is deprecated. --- def.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'def.go') diff --git a/def.go b/def.go index fdf439b..b4140a9 100644 --- a/def.go +++ b/def.go @@ -268,6 +268,8 @@ type FontLoader interface { Open(name string) (io.Reader, error) } +// Pdf defines the interface used for various methods. It is implemented by the +// main FPDF instance as well as templates. type Pdf interface { AddFont(familyStr, styleStr, fileStr string) AddFontFromBytes(familyStr, styleStr string, jsonFileBytes, zFileBytes []byte) -- cgit v1.2.1-24-ge1ad