Skip to content

Commit

Permalink
Got rid of v1 in module path to make it go-gettable
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ntousias committed Jan 15, 2021
1 parent f682971 commit a294b18
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Go client library for accessing the [Clerk Server API v1](https://docs.clerk.dev
First, add one of the following imports, depending on whether you use modules or not.

```go
import "github.com/clerkinc/clerk_server_sdk_go/v1/clerk" // with go modules enabled
import "github.com/clerkinc/clerk_server_sdk_go/clerk" // with go modules disabled
import "github.com/clerkinc/clerk_server_sdk_go/clerk" // with go modules enabled
```

Now, you can create a Clerk client by calling the `clerk.NewClient` function.
Expand Down
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"fmt"
"github.com/clerkinc/clerk_server_sdk_go/v1/clerk"
"github.com/clerkinc/clerk_server_sdk_go/clerk"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/clerkinc/clerk_server_sdk_go/v1
module github.com/clerkinc/clerk_server_sdk_go

go 1.15
2 changes: 1 addition & 1 deletion tests/integration/clerk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package integration

import (
"github.com/clerkinc/clerk_server_sdk_go/v1/clerk"
"github.com/clerkinc/clerk_server_sdk_go/clerk"
"os"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/emails_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package integration

import (
"github.com/clerkinc/clerk_server_sdk_go/v1/clerk"
"github.com/clerkinc/clerk_server_sdk_go/clerk"
"reflect"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/sms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package integration

import (
"github.com/clerkinc/clerk_server_sdk_go/v1/clerk"
"github.com/clerkinc/clerk_server_sdk_go/clerk"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package integration

import (
"github.com/clerkinc/clerk_server_sdk_go/v1/clerk"
"github.com/clerkinc/clerk_server_sdk_go/clerk"
"testing"
)

Expand Down

0 comments on commit a294b18

Please sign in to comment.