summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Snoeck <jelmer.snoeck@gmail.com>2015-08-26 19:43:02 +0100
committerJelmer Snoeck <jelmer.snoeck@gmail.com>2015-08-26 19:43:02 +0100
commita1dcf58b5248a95377100a535eb7d20f708cf6a0 (patch)
treea0ca41551a39d1787c80afa81a3e50e3f1e0bc6e
parent66de656c58127811f119b9b8d34022438906d5de (diff)
Httpimg: rename package.
-rw-r--r--contrib/httpimg/httpimg.go (renamed from contrib/fhttp/fhttp.go)2
-rw-r--r--contrib/httpimg/httpimg_test.go (renamed from contrib/fhttp/fhttp_test.go)6
-rw-r--r--contrib/httpimg/pdf/.gitignore (renamed from contrib/fhttp/pdf/.gitignore)0
-rw-r--r--contrib/httpimg/pdf/.gitkeep (renamed from contrib/fhttp/pdf/.gitkeep)0
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/fhttp/fhttp.go b/contrib/httpimg/httpimg.go
index 8887fbc..6025469 100644
--- a/contrib/fhttp/fhttp.go
+++ b/contrib/httpimg/httpimg.go
@@ -1,4 +1,4 @@
-package fhttp
+package httpimg
import (
"github.com/jung-kurt/gofpdf"
diff --git a/contrib/fhttp/fhttp_test.go b/contrib/httpimg/httpimg_test.go
index e09328a..d1b97bb 100644
--- a/contrib/fhttp/fhttp_test.go
+++ b/contrib/httpimg/httpimg_test.go
@@ -1,9 +1,9 @@
-package fhttp_test
+package httpimg_test
import (
"fmt"
"github.com/jung-kurt/gofpdf"
- "github.com/jung-kurt/gofpdf/contrib/fhttp"
+ "github.com/jung-kurt/gofpdf/contrib/httpimg"
"path/filepath"
)
@@ -32,7 +32,7 @@ func ExampleFpdf_AddHttpImage() {
pdf.AddPage()
url := "https://github.com/jung-kurt/gofpdf/raw/master/image/logo_gofpdf.jpg?raw=true"
- fhttp.RegisterHttpImage(pdf, url, "")
+ httpimg.RegisterHttpImage(pdf, url, "")
pdf.Image(url, 100, 100, 20, 20, false, "", 0, "")
fileStr := exampleFilename("Fpdf_AddHttpImage")
diff --git a/contrib/fhttp/pdf/.gitignore b/contrib/httpimg/pdf/.gitignore
index a136337..a136337 100644
--- a/contrib/fhttp/pdf/.gitignore
+++ b/contrib/httpimg/pdf/.gitignore
diff --git a/contrib/fhttp/pdf/.gitkeep b/contrib/httpimg/pdf/.gitkeep
index e69de29..e69de29 100644
--- a/contrib/fhttp/pdf/.gitkeep
+++ b/contrib/httpimg/pdf/.gitkeep