diff options
author | Kurt Jung <kurt.w.jung@gmail.com> | 2015-10-11 09:16:21 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2015-10-11 09:16:21 -0400 |
commit | eca9f96fbf9b6be62915d111546f4798ce3fac62 (patch) | |
tree | 9c032e3059ead75dbd4d0f5bb1e2c57fdea36ad2 /fpdf_test.go | |
parent | 1a24a3acc57b8e20d718efbc5c141b980bbb8a38 (diff) |
Move default assignments to init function of example file from various test files. Now any package that imports the example package will generate PDFs with sorted catalogs and a fixed creation timestamp.
Diffstat (limited to 'fpdf_test.go')
-rw-r--r-- | fpdf_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdf_test.go b/fpdf_test.go index 2238ccd..e45f966 100644 --- a/fpdf_test.go +++ b/fpdf_test.go @@ -28,7 +28,6 @@ import ( "path/filepath" "strconv" "strings" - "time" "github.com/jung-kurt/gofpdf" "github.com/jung-kurt/gofpdf/internal/example" @@ -36,8 +35,6 @@ import ( func init() { cleanup() - gofpdf.SetDefaultCatalogSort(true) - gofpdf.SetDefaultCreationDate(time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC)) } func cleanup() { |