From 8bb0f49b6dec9395c0c09e8a78d44fc952c26a2d Mon Sep 17 00:00:00 2001 From: Alexander Pikeev Date: Wed, 13 Nov 2024 00:13:41 +0300 Subject: [PATCH] feat: change module and repo name --- Makefile | 2 +- baserequest.go | 2 +- build/tests/docker-entrypoint.sh | 2 +- chromium.go | 2 +- go.mod | 2 +- html.go | 2 +- html_test.go | 4 ++-- libreoffice.go | 2 +- libreoffice_test.go | 4 ++-- markdown.go | 2 +- markdown_test.go | 4 ++-- metadata_reader.go | 2 +- metadata_test.go | 4 ++-- metadata_writer.go | 2 +- multipart.go | 2 +- pdfengines.go | 2 +- pdfengines_test.go | 4 ++-- url.go | 2 +- url_test.go | 4 ++-- 19 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Makefile b/Makefile index e43affe..5af783a 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ GOTENBERG_VERSION=8.12.0 GOTENBERG_LOG_LEVEL=ERROR VERSION=snapshot GOLANGCI_LINT_VERSION=1.61.0 -REPO=dcaraxes/gotenberg-go-client/v8 +REPO=runatal/gotenberg-go-client/v8 # gofmt and goimports all go files. fmt: diff --git a/baserequest.go b/baserequest.go index 6b167a4..80a7ba1 100644 --- a/baserequest.go +++ b/baserequest.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "github.com/dcaraxes/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/document" ) type baseRequester interface { diff --git a/build/tests/docker-entrypoint.sh b/build/tests/docker-entrypoint.sh index 401236f..e078a26 100755 --- a/build/tests/docker-entrypoint.sh +++ b/build/tests/docker-entrypoint.sh @@ -6,5 +6,5 @@ set -xe gotenberg --api-enable-basic-auth & sleep 10 export CGO_ENABLED=1 -go test -race -cover -covermode=atomic github.com/dcaraxes/gotenberg-go-client/v8 +go test -race -cover -covermode=atomic github.com/runatal/gotenberg-go-client/v8 sleep 10 # allows Gotenberg to remove generated files. \ No newline at end of file diff --git a/chromium.go b/chromium.go index f64ac15..6c2b423 100644 --- a/chromium.go +++ b/chromium.go @@ -5,7 +5,7 @@ import ( "strconv" "time" - "github.com/dcaraxes/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/document" ) type chromiumRequest struct { diff --git a/go.mod b/go.mod index 2027ed6..0d3adad 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dcaraxes/gotenberg-go-client/v8 +module github.com/runatal/gotenberg-go-client/v8 go 1.23.2 diff --git a/html.go b/html.go index 38b22f7..f7a4b7b 100644 --- a/html.go +++ b/html.go @@ -1,6 +1,6 @@ package gotenberg -import "github.com/dcaraxes/gotenberg-go-client/v8/document" +import "github.com/runatal/gotenberg-go-client/v8/document" const ( endpointHTMLConvert = "/forms/chromium/convert/html" diff --git a/html_test.go b/html_test.go index 93d8243..ccafa60 100644 --- a/html_test.go +++ b/html_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dcaraxes/gotenberg-go-client/v8/document" - "github.com/dcaraxes/gotenberg-go-client/v8/test" + "github.com/runatal/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/test" ) func TestHTML(t *testing.T) { diff --git a/libreoffice.go b/libreoffice.go index 23b01c6..b74790a 100644 --- a/libreoffice.go +++ b/libreoffice.go @@ -3,7 +3,7 @@ package gotenberg import ( "strconv" - "github.com/dcaraxes/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/document" ) const endpointOfficeConvert = "/forms/libreoffice/convert" diff --git a/libreoffice_test.go b/libreoffice_test.go index 68121c5..282e926 100644 --- a/libreoffice_test.go +++ b/libreoffice_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dcaraxes/gotenberg-go-client/v8/document" - "github.com/dcaraxes/gotenberg-go-client/v8/test" + "github.com/runatal/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/test" ) func TestOffice(t *testing.T) { diff --git a/markdown.go b/markdown.go index d55107a..e6d2483 100644 --- a/markdown.go +++ b/markdown.go @@ -1,6 +1,6 @@ package gotenberg -import "github.com/dcaraxes/gotenberg-go-client/v8/document" +import "github.com/runatal/gotenberg-go-client/v8/document" const ( endpointMarkdownConvert = "/forms/chromium/convert/markdown" diff --git a/markdown_test.go b/markdown_test.go index ef576f5..74abbaa 100644 --- a/markdown_test.go +++ b/markdown_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dcaraxes/gotenberg-go-client/v8/document" - "github.com/dcaraxes/gotenberg-go-client/v8/test" + "github.com/runatal/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/test" ) func TestMarkdown(t *testing.T) { diff --git a/metadata_reader.go b/metadata_reader.go index b6ec1e7..764a332 100644 --- a/metadata_reader.go +++ b/metadata_reader.go @@ -1,6 +1,6 @@ package gotenberg -import "github.com/dcaraxes/gotenberg-go-client/v8/document" +import "github.com/runatal/gotenberg-go-client/v8/document" type ReadMetadataRequest struct { pdfs []document.Document diff --git a/metadata_test.go b/metadata_test.go index 64566da..4c165db 100644 --- a/metadata_test.go +++ b/metadata_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dcaraxes/gotenberg-go-client/v8/document" - "github.com/dcaraxes/gotenberg-go-client/v8/test" + "github.com/runatal/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/test" ) func TestReadWriteMetadata(t *testing.T) { diff --git a/metadata_writer.go b/metadata_writer.go index b36a70e..3b9235a 100644 --- a/metadata_writer.go +++ b/metadata_writer.go @@ -1,6 +1,6 @@ package gotenberg -import "github.com/dcaraxes/gotenberg-go-client/v8/document" +import "github.com/runatal/gotenberg-go-client/v8/document" type WriteMetadataRequest struct { pdfs []document.Document diff --git a/multipart.go b/multipart.go index 79214a9..4b27dde 100644 --- a/multipart.go +++ b/multipart.go @@ -6,7 +6,7 @@ import ( "io" "mime/multipart" - "github.com/dcaraxes/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/document" ) func multipartForm(r baseRequester) (body *bytes.Buffer, contentType string, err error) { diff --git a/pdfengines.go b/pdfengines.go index 9a84a61..735089c 100644 --- a/pdfengines.go +++ b/pdfengines.go @@ -3,7 +3,7 @@ package gotenberg import ( "strconv" - "github.com/dcaraxes/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/document" ) // MergeRequest facilitates work with PDF files with the Gotenberg API. diff --git a/pdfengines_test.go b/pdfengines_test.go index c7ae283..5a0e96c 100644 --- a/pdfengines_test.go +++ b/pdfengines_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dcaraxes/gotenberg-go-client/v8/document" - "github.com/dcaraxes/gotenberg-go-client/v8/test" + "github.com/runatal/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/test" ) func TestMerge(t *testing.T) { diff --git a/url.go b/url.go index 6f56383..2a064f1 100644 --- a/url.go +++ b/url.go @@ -1,6 +1,6 @@ package gotenberg -import "github.com/dcaraxes/gotenberg-go-client/v8/document" +import "github.com/runatal/gotenberg-go-client/v8/document" const ( endpointURLConvert = "/forms/chromium/convert/url" diff --git a/url_test.go b/url_test.go index e6f679e..ee0ce8f 100644 --- a/url_test.go +++ b/url_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dcaraxes/gotenberg-go-client/v8/document" - "github.com/dcaraxes/gotenberg-go-client/v8/test" + "github.com/runatal/gotenberg-go-client/v8/document" + "github.com/runatal/gotenberg-go-client/v8/test" ) func TestURL(t *testing.T) {