From 53a2cc7163222ff04b6b8b95ab06e177219e6694 Mon Sep 17 00:00:00 2001 From: Sidharthan Chandrasekaran Kamaraj Date: Fri, 20 Sep 2024 22:55:20 +0200 Subject: [PATCH] feat: update module info --- .github/workflows/pr.yml | 2 +- README.md | 2 +- agreements_endpoints_test.go | 2 +- api_info.go | 2 +- assets/cover-treemap.svg | 2 +- client.go | 4 ++-- client_test.go | 2 +- go.mod | 4 ++-- institutions_endpoints_test.go | 2 +- requisitions_endpoints_test.go | 2 +- token_endpoints_test.go | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a485bc8..ac0d486 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -5,7 +5,7 @@ jobs: name: Unit tests runs-on: ubuntu-latest env: - GOPRIVATE: "github.com/weportfolio/*" + GOPRIVATE: "github.com/cksidharthan/*" NORDIGEN_SECRET_ID: ${{ secrets.NORDIGEN_SECRET_ID }} NORDIGEN_SECRET_KEY: ${{ secrets.NORDIGEN_SECRET_KEY }} NORDIGEN_TEST_ACCOUNT_ID: ${{ secrets.NORDIGEN_TEST_ACCOUNT_ID }} diff --git a/README.md b/README.md index fd37dbe..9d76259 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,6 @@ Please refer to [Nordigen API Documentation](https://nordigen.com/en/docs/accoun - Payments - Since this needs some access to the API which is paid, I will not be implementing this since I can't test. If you would like to contribute, please feel free to open a PR. # Issues -Please report any issues or bugs to the [Issues](https://github.com/weportfolio/go-nordigen/issues) page. +Please report any issues or bugs to the [Issues](https://github.com/cksidharthan/go-nordigen/issues) page. ![pkg-coverage-img](./assets/cover-treemap.svg?raw=true "Unit Test Coverage Image") \ No newline at end of file diff --git a/agreements_endpoints_test.go b/agreements_endpoints_test.go index ee5d4ac..50e2c3c 100644 --- a/agreements_endpoints_test.go +++ b/agreements_endpoints_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" + "github.com/cksidharthan/go-nordigen" "github.com/stretchr/testify/assert" - "github.com/weportfolio/go-nordigen" ) func TestClient_CreateAgreement(t *testing.T) { diff --git a/api_info.go b/api_info.go index 5db993f..dff3a50 100644 --- a/api_info.go +++ b/api_info.go @@ -1,7 +1,7 @@ package nordigen const ( - NordigenBaseURL = "https://ob.nordigen.com/api" + NordigenBaseURL = "https://bankaccountdata.gocardless.com/api" APIVersion = "v2" TestBaseURL = "https://localhost:8000/api" ) diff --git a/assets/cover-treemap.svg b/assets/cover-treemap.svg index ad14bae..badd595 100644 --- a/assets/cover-treemap.svg +++ b/assets/cover-treemap.svg @@ -14,7 +14,7 @@ text-anchor="start" transform="translate(28.000000,35.600000) scale(1.000000)" style="font-family: Open Sans, verdana, arial, sans-serif !important; font-size: 12px; fill: rgb(0, 0, 0, 65535); fill-opacity: 1; white-space: pre;" - data-math="N">github.com/weportfolio/go-nordigen + data-math="N">github.com/cksidharthan/go-nordigen diff --git a/client.go b/client.go index b374f24..97fe5c2 100644 --- a/client.go +++ b/client.go @@ -10,8 +10,8 @@ type Client struct { type Config struct { BaseURL string APIVersion string - SecretID string - SecretKey string + SecretID string `json:"secret_id"` + SecretKey string `json:"secret_key"` HTTP *Client } diff --git a/client_test.go b/client_test.go index 516ca12..ea21be1 100644 --- a/client_test.go +++ b/client_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/weportfolio/go-nordigen" + "github.com/cksidharthan/go-nordigen" ) func getTestClient(t *testing.T) *nordigen.Client { diff --git a/go.mod b/go.mod index c7f95f9..351d61b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module github.com/weportfolio/go-nordigen +module github.com/cksidharthan/go-nordigen -go 1.20 +go 1.22.7 require github.com/stretchr/testify v1.8.2 diff --git a/institutions_endpoints_test.go b/institutions_endpoints_test.go index f9a6a50..c2fe0eb 100644 --- a/institutions_endpoints_test.go +++ b/institutions_endpoints_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" + "github.com/cksidharthan/go-nordigen" "github.com/stretchr/testify/assert" - "github.com/weportfolio/go-nordigen" ) func TestClient_ListInstitutions(t *testing.T) { diff --git a/requisitions_endpoints_test.go b/requisitions_endpoints_test.go index c1a868b..4712b73 100644 --- a/requisitions_endpoints_test.go +++ b/requisitions_endpoints_test.go @@ -6,8 +6,8 @@ import ( "strconv" "testing" + "github.com/cksidharthan/go-nordigen" "github.com/stretchr/testify/assert" - "github.com/weportfolio/go-nordigen" ) func TestClient_CreateRequisition(t *testing.T) { diff --git a/token_endpoints_test.go b/token_endpoints_test.go index 89d1fbd..471c67c 100644 --- a/token_endpoints_test.go +++ b/token_endpoints_test.go @@ -5,8 +5,8 @@ import ( "net/http" "testing" + "github.com/cksidharthan/go-nordigen" "github.com/stretchr/testify/assert" - "github.com/weportfolio/go-nordigen" ) func TestClient_NewToken(t *testing.T) {