diff options
author | Kurt <kurt.w.jung@gmail.com> | 2016-11-11 21:44:09 -0500 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2016-11-11 21:44:09 -0500 |
commit | 83f63e773b4dd5516af63ba8d7278e21f96f2062 (patch) | |
tree | 68060ea62f0ac8e2eabc9f3a71a4231652a0ee9a /contrib | |
parent | f51ce6c2fb4179749a4e048b51701ecff7e31add (diff) |
Adjust some names of test functions to conform with Go's naming conventions
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/barcode/barcode.go | 8 | ||||
-rw-r--r-- | contrib/tiff/tiff_test.go | 2 |
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) |