From 74253e5c9ca7edeee98bcf4b38d9ef1d00fe7a0e Mon Sep 17 00:00:00 2001 From: Jelmer Snoeck Date: Wed, 26 Aug 2015 19:44:21 +0100 Subject: HttpImg: use `Register` method. By changing the name, we can use a uniform name across several packages. --- contrib/httpimg/httpimg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/httpimg/httpimg_test.go') 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") -- cgit v1.2.1-24-ge1ad