From a294b184b0cffa74646823aa8307e1c165ced0a9 Mon Sep 17 00:00:00 2001 From: Alexandros Ntousias Date: Thu, 14 Jan 2021 21:06:16 +0200 Subject: [PATCH] Got rid of v1 in module path to make it go-gettable --- README.md | 3 +-- example/main.go | 2 +- go.mod | 2 +- tests/integration/clerk_test.go | 2 +- tests/integration/emails_test.go | 2 +- tests/integration/sms_test.go | 2 +- tests/integration/users_test.go | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b526420..a8bb861 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/example/main.go b/example/main.go index 6beabbd..0da1cf5 100644 --- a/example/main.go +++ b/example/main.go @@ -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() { diff --git a/go.mod b/go.mod index 80a800c..0c4d9eb 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/clerkinc/clerk_server_sdk_go/v1 +module github.com/clerkinc/clerk_server_sdk_go go 1.15 diff --git a/tests/integration/clerk_test.go b/tests/integration/clerk_test.go index fa93928..6cd1043 100644 --- a/tests/integration/clerk_test.go +++ b/tests/integration/clerk_test.go @@ -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" ) diff --git a/tests/integration/emails_test.go b/tests/integration/emails_test.go index 96aa7b0..7175f86 100644 --- a/tests/integration/emails_test.go +++ b/tests/integration/emails_test.go @@ -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" ) diff --git a/tests/integration/sms_test.go b/tests/integration/sms_test.go index 5e3880e..9ec4417 100644 --- a/tests/integration/sms_test.go +++ b/tests/integration/sms_test.go @@ -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" ) diff --git a/tests/integration/users_test.go b/tests/integration/users_test.go index 0d2e775..e844ea8 100644 --- a/tests/integration/users_test.go +++ b/tests/integration/users_test.go @@ -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" )