Skip to content

Commit

Permalink
feat: update module info
Browse files Browse the repository at this point in the history
  • Loading branch information
cksidharthan committed Sep 20, 2024
1 parent d208804 commit 53a2cc7
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
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 [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")
2 changes: 1 addition & 1 deletion agreements_endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion api_info.go
Original file line number Diff line number Diff line change
@@ -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"
)
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.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

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

func getTestClient(t *testing.T) *nordigen.Client {
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/weportfolio/go-nordigen
module github.com/cksidharthan/go-nordigen

go 1.20
go 1.22.7

require github.com/stretchr/testify v1.8.2

Expand Down
2 changes: 1 addition & 1 deletion institutions_endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion requisitions_endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion token_endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 53a2cc7

Please sign in to comment.