From ace82d3a1367cfd5c546829677879c7831d428ab Mon Sep 17 00:00:00 2001 From: mayunxiang <2721885092@qq.com> Date: Sun, 10 Aug 2025 15:50:06 +0800 Subject: [PATCH] feat: update go.mod file to change the Go version to 1.23.0 and fix module path error --- README.md | 8 ++++---- examples/read_plain_text/main.go | 2 +- examples/read_text_with_styles/main.go | 2 +- go.mod | 4 ++-- pdfpasswd/main.go | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0f9d6cb..8cd1b9f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Features ## Install: -`go get -u github.com/ledongthuc/pdf` +`go get -u github.com/casibase/pdf` ## Examples: @@ -26,7 +26,7 @@ import ( "bytes" "fmt" - "github.com/ledongthuc/pdf" + "github.com/casibase/pdf" ) func main() { @@ -57,7 +57,7 @@ package main import ( "fmt" - "github.com/ledongthuc/pdf" + "github.com/casibase/pdf" ) func main() { @@ -94,7 +94,7 @@ import ( "fmt" "os" - "github.com/ledongthuc/pdf" + "github.com/casibase/pdf" ) func main() { diff --git a/examples/read_plain_text/main.go b/examples/read_plain_text/main.go index beb18a3..f77a7cf 100644 --- a/examples/read_plain_text/main.go +++ b/examples/read_plain_text/main.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/ledongthuc/pdf" + "github.com/casibase/pdf" ) func main() { diff --git a/examples/read_text_with_styles/main.go b/examples/read_text_with_styles/main.go index d9e167e..e425a06 100644 --- a/examples/read_text_with_styles/main.go +++ b/examples/read_text_with_styles/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "github.com/ledongthuc/pdf" + "github.com/casibase/pdf" ) func main() { diff --git a/go.mod b/go.mod index 7dd1b3c..24741a0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/ledongthuc/pdf +module github.com/casibase/pdf -go 1.24.1 +go 1.23.0 diff --git a/pdfpasswd/main.go b/pdfpasswd/main.go index b03a4ff..6e84e1f 100644 --- a/pdfpasswd/main.go +++ b/pdfpasswd/main.go @@ -12,7 +12,7 @@ import ( "log" "os" - "github.com/ledongthuc/pdf" + "github.com/casibase/pdf" ) var (