summaryrefslogtreecommitdiff
path: root/contrib/httpimg/httpimg_test.go
diff options
context:
space:
mode:
authorJelmer Snoeck <jelmer.snoeck@gmail.com>2015-08-26 19:44:21 +0100
committerJelmer Snoeck <jelmer.snoeck@gmail.com>2015-08-26 19:44:21 +0100
commit74253e5c9ca7edeee98bcf4b38d9ef1d00fe7a0e (patch)
tree2b6bbb28cfcd448e3fbac964dc05b1e721ba4281 /contrib/httpimg/httpimg_test.go
parenta1dcf58b5248a95377100a535eb7d20f708cf6a0 (diff)
HttpImg: use `Register` method.
By changing the name, we can use a uniform name across several packages.
Diffstat (limited to 'contrib/httpimg/httpimg_test.go')
-rw-r--r--contrib/httpimg/httpimg_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/httpimg/httpimg_test.go b/contrib/httpimg/httpimg_test.go
index d1b97bb..cc007c6 100644
--- a/contrib/httpimg/httpimg_test.go
+++ b/contrib/httpimg/httpimg_test.go
@@ -32,7 +32,7 @@ func ExampleFpdf_AddHttpImage() {
pdf.AddPage()
url := "https://github.com/jung-kurt/gofpdf/raw/master/image/logo_gofpdf.jpg?raw=true"
- httpimg.RegisterHttpImage(pdf, url, "")
+ httpimg.Register(pdf, url, "")
pdf.Image(url, 100, 100, 20, 20, false, "", 0, "")
fileStr := exampleFilename("Fpdf_AddHttpImage")