diff --git a/Makefile b/Makefile index 9e53d37f..abd289c9 100644 --- a/Makefile +++ b/Makefile @@ -56,5 +56,5 @@ update-docs: sub-pkg-docs: @godocdown ./mollie/connect > docs/connect/README.md @godocdown ./pkg/idempotency > docs/pkg/idempotency/README.md - @godocdown ./mollie/tools/pagination > docs/tools/pagination/README.md + @godocdown ./pkg/pagination > docs/pkg/pagination/README.md .PHONY: sub-pkg-docs diff --git a/docs/pkg/idempotency/README.md b/docs/pkg/idempotency/README.md index 38f6675a..fc26d7b2 100644 --- a/docs/pkg/idempotency/README.md +++ b/docs/pkg/idempotency/README.md @@ -1,7 +1,7 @@ # idempotency -- - import "github.com/VictorAvelar/mollie-api-go/v4/mollie/tools/idempotency" + import "github.com/VictorAvelar/mollie-api-go/v4/pkg/idempotency" package idempotency contains the services in charge of generating a unique keys to be passed in POST requests to ensure operation uniqueness. diff --git a/docs/tools/pagination/README.md b/docs/pkg/pagination/README.md similarity index 90% rename from docs/tools/pagination/README.md rename to docs/pkg/pagination/README.md index b49dec4b..f6fde131 100644 --- a/docs/tools/pagination/README.md +++ b/docs/pkg/pagination/README.md @@ -1,7 +1,7 @@ # pagination -- - import "github.com/VictorAvelar/mollie-api-go/v4/mollie/tools/pagination" + import "github.com/VictorAvelar/mollie-api-go/v4/pkg/pagination" Package pagination provides utilities to handle pagination in API responses. diff --git a/docs/tools/README.md b/docs/tools/README.md deleted file mode 100644 index 4befbb8d..00000000 --- a/docs/tools/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# tools - --- - import "github.com/VictorAvelar/mollie-api-go/v4/mollie/tools" - -package tools provides some common tools required by mollie's features in order -to maximize the library utility. - -## Usage diff --git a/mollie/tools/pagination/doc.go b/pkg/pagination/doc.go similarity index 100% rename from mollie/tools/pagination/doc.go rename to pkg/pagination/doc.go diff --git a/mollie/tools/pagination/pagination.go b/pkg/pagination/pagination.go similarity index 100% rename from mollie/tools/pagination/pagination.go rename to pkg/pagination/pagination.go diff --git a/mollie/tools/pagination/pagination_test.go b/pkg/pagination/pagination_test.go similarity index 100% rename from mollie/tools/pagination/pagination_test.go rename to pkg/pagination/pagination_test.go