Skip to content

Commit

Permalink
feat: update nordigen references to gocardless
Browse files Browse the repository at this point in the history
  • Loading branch information
cksidharthan committed Sep 21, 2024
1 parent 74fdaa8 commit 3171f90
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Please refer to [Gocardless Bank Account Data API](https://developer.gocardless.
- 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/cksidharthan/go-nordigen/issues) page.
Please report any issues or bugs to the [Issues](https://github.com/cksidharthan/go-gocardless/issues) page.

![pkg-coverage-img](./assets/cover-treemap.svg?raw=true "Unit Test Coverage Image")
2 changes: 1 addition & 1 deletion accounts.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import "time"

Expand Down
2 changes: 1 addition & 1 deletion accounts_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion accounts_endpoints_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen_test
package gocardless_test

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion agreements.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import "time"

Expand Down
2 changes: 1 addition & 1 deletion agreements_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions agreements_endpoints_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package nordigen_test
package gocardless_test

import (
"context"
"testing"

"github.com/cksidharthan/go-nordigen"
nordigen "github.com/cksidharthan/go-gocardless"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion api_info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

const (
NordigenBaseURL = "https://bankaccountdata.gocardless.com/api"
Expand Down
2 changes: 1 addition & 1 deletion assets/cover-treemap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions client_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package nordigen_test
package gocardless_test

import (
"fmt"
"os"
"testing"

"github.com/cksidharthan/go-nordigen"
nordigen "github.com/cksidharthan/go-gocardless"
)

func getTestClient(t *testing.T) (*nordigen.Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"encoding/json"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cksidharthan/go-nordigen
module github.com/cksidharthan/go-gocardless

go 1.22.7
go 1.23.1

require github.com/stretchr/testify v1.8.2

Expand Down
2 changes: 1 addition & 1 deletion helpers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion http-client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion institutions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

type Institution struct {
ID string `json:"id"`
Expand Down
2 changes: 1 addition & 1 deletion institutions_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions institutions_endpoints_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package nordigen_test
package gocardless_test

import (
"context"
"testing"

"github.com/cksidharthan/go-nordigen"
nordigen "github.com/cksidharthan/go-gocardless"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion payments.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

type Payment struct {
PaymentID string `json:"payment_id"`
Expand Down
2 changes: 1 addition & 1 deletion payments_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion payments_endpoints_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen_test
package gocardless_test

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion premium.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import "time"

Expand Down
2 changes: 1 addition & 1 deletion premium_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import "context"

Expand Down
2 changes: 1 addition & 1 deletion requisitions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import "time"

Expand Down
2 changes: 1 addition & 1 deletion requisitions_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions requisitions_endpoints_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package nordigen_test
package gocardless_test

import (
"context"
"math/rand"
"strconv"
"testing"

"github.com/cksidharthan/go-nordigen"
nordigen "github.com/cksidharthan/go-gocardless"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion token.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

type Token struct {
Access string `json:"access"`
Expand Down
2 changes: 1 addition & 1 deletion token_endpoints.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package nordigen
package gocardless

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions token_endpoints_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package nordigen_test
package gocardless_test

import (
"context"
"net/http"
"testing"

"github.com/cksidharthan/go-nordigen"
nordigen "github.com/cksidharthan/go-gocardless"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 3171f90

Please sign in to comment.