summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/barcode/barcode.go8
-rw-r--r--contrib/tiff/tiff_test.go2
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/barcode/barcode.go b/contrib/barcode/barcode.go
index 8fb371e..0649564 100644
--- a/contrib/barcode/barcode.go
+++ b/contrib/barcode/barcode.go
@@ -20,10 +20,6 @@ package barcode
import (
"bytes"
"errors"
- "image/jpeg"
- "io"
- "strconv"
- "sync"
"github.com/boombuler/barcode"
"github.com/boombuler/barcode/codabar"
"github.com/boombuler/barcode/code128"
@@ -34,6 +30,10 @@ import (
"github.com/boombuler/barcode/twooffive"
"github.com/jung-kurt/gofpdf"
"github.com/ruudk/golang-pdf417"
+ "image/jpeg"
+ "io"
+ "strconv"
+ "sync"
)
// barcodes represents the barcodes that have been registered through this
diff --git a/contrib/tiff/tiff_test.go b/contrib/tiff/tiff_test.go
index 28163a0..d222375 100644
--- a/contrib/tiff/tiff_test.go
+++ b/contrib/tiff/tiff_test.go
@@ -6,7 +6,7 @@ import (
"github.com/jung-kurt/gofpdf/internal/example"
)
-func ExampleTiff() {
+func ExampleRegisterFile() {
pdf := gofpdf.New("L", "mm", "A4", "")
pdf.SetFont("Helvetica", "", 12)
pdf.SetFillColor(200, 200, 220)