summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-03-13 08:24:50 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-03-13 08:24:50 -0400
commit377629e707b3132c5fc456c8b3792bfc3368d8a9 (patch)
tree174ef7ddbfbe42c79597165852847ea61f9fb70b
parent5f8ef3772bf9215f5cd2bc82ab922497e27b58c4 (diff)
Adjust references to account for move from code.google.com to github
-rw-r--r--.gitignore (renamed from .hgignore)1
-rw-r--r--README.md8
-rw-r--r--doc.go4
-rw-r--r--fpdf_test.go6
-rw-r--r--image/gofpdf.pngbin0 -> 11832 bytes
-rw-r--r--makefont/makefont.go2
-rw-r--r--ttfparser_test.go2
7 files changed, 15 insertions, 8 deletions
diff --git a/.hgignore b/.gitignore
index 508c2b7..cde0305 100644
--- a/.hgignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
-syntax: glob
makefont/makefont
pdf/*.pdf
look
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f58951a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+![gofpdf](image/gofpdf.png?raw=true "gofpdf")
+
+Package gofpdf implements a PDF document generator with high level support for
+text, drawing and images.
+
+See the [documentation][1] for more details.
+
+[1]: http://godoc.org/github.com/jung-kurt/gofpdf
diff --git a/doc.go b/doc.go
index 29194e8..55ff390 100644
--- a/doc.go
+++ b/doc.go
@@ -83,11 +83,11 @@ Installation
To install the package on your system, run
- go get code.google.com/p/gofpdf
+ go get github.com/jung-kurt/gofpdf
Later, to receive updates, run
- go get -u code.google.com/p/gofpdf
+ go get -u github.com/jung-kurt/gofpdf
Quick Start
diff --git a/fpdf_test.go b/fpdf_test.go
index 123dcd0..0cf7ce0 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -18,8 +18,8 @@ package gofpdf_test
import (
"bufio"
- "code.google.com/p/gofpdf"
"fmt"
+ "github.com/jung-kurt/gofpdf"
"io/ioutil"
"math"
"net/http"
@@ -1128,7 +1128,7 @@ func ExampleFpdf_tutorial21() {
pdf.CellFormat(170, 257, rec.txt, borderStr, 0, rec.align, false, 0, linkStr)
borderStr = ""
}
- linkStr = "https://code.google.com/p/gofpdf/"
+ linkStr = "https://github.com/jung-kurt/gofpdf"
}
pdf.OutputAndClose(docWriter(pdf, 21))
// Output:
@@ -1297,7 +1297,7 @@ func ExampleFpdf_tutorial27() {
wd = 210
ht = 297
fontSize = 15
- urlStr = "https://code.google.com/p/gofpdf/logo?cct=1402750750"
+ urlStr = "https://github.com/jung-kurt/gofpdf/blob/master/image/gofpdf.png?raw=true"
msgStr = `Images from the web can be easily embedded when a PDF document is generated.`
)
diff --git a/image/gofpdf.png b/image/gofpdf.png
new file mode 100644
index 0000000..29d8401
--- /dev/null
+++ b/image/gofpdf.png
Binary files differ
diff --git a/makefont/makefont.go b/makefont/makefont.go
index 0541e27..d3ea19f 100644
--- a/makefont/makefont.go
+++ b/makefont/makefont.go
@@ -1,9 +1,9 @@
package main
import (
- "code.google.com/p/gofpdf"
"flag"
"fmt"
+ "github.com/jung-kurt/gofpdf"
"os"
)
diff --git a/ttfparser_test.go b/ttfparser_test.go
index 6b9b4c1..9f494a6 100644
--- a/ttfparser_test.go
+++ b/ttfparser_test.go
@@ -18,8 +18,8 @@ package gofpdf_test
import (
"bytes"
- "code.google.com/p/gofpdf"
"fmt"
+ "github.com/jung-kurt/gofpdf"
// "testing"
)