Skip to content

Commit 6d8c13f

Browse files
committed
chore: remove /v1 from module path and update all import statements
1 parent 6745af7 commit 6d8c13f

39 files changed

Lines changed: 71 additions & 71 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
"log"
3939
"os"
4040

41-
"github.com/WebexCommunity/webex-go-sdk/v1"
41+
"github.com/WebexCommunity/webex-go-sdk"
4242
)
4343

4444
func main() {

attachmentactions/attachmentactions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"net/http"
1212
"time"
1313

14-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
14+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
1515
)
1616

1717
// AttachmentAction represents a Webex attachment action

attachmentactions/attachmentactions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"testing"
1515
"time"
1616

17-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
17+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
1818
)
1919

2020
func TestCreate(t *testing.T) {

conversation/conversation.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"fmt"
1212
"sync"
1313

14-
"github.com/WebexCommunity/webex-go-sdk/v1/encryption"
15-
"github.com/WebexCommunity/webex-go-sdk/v1/mercury"
16-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
14+
"github.com/WebexCommunity/webex-go-sdk/encryption"
15+
"github.com/WebexCommunity/webex-go-sdk/mercury"
16+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
1717
)
1818

1919
// ActivityHandler is a function that handles conversation activities

device/device.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"sync"
1616
"time"
1717

18-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
18+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
1919
)
2020

2121
// DeviceResponse represents the response from the device registration

encryption/encryption.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"sync"
1919
"time"
2020

21-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
21+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
2222
)
2323

2424
const (

events/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"net/url"
1414
"time"
1515

16-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
16+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
1717
)
1818

1919
// Event represents a Webex event

events/events_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"testing"
1313
"time"
1414

15-
"github.com/WebexCommunity/webex-go-sdk/v1/webexsdk"
15+
"github.com/WebexCommunity/webex-go-sdk/webexsdk"
1616
)
1717

1818
func TestList(t *testing.T) {

examples/attachmentactions/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"log"
1212
"os"
1313

14-
"github.com/WebexCommunity/webex-go-sdk/v1"
15-
"github.com/WebexCommunity/webex-go-sdk/v1/attachmentactions"
16-
"github.com/WebexCommunity/webex-go-sdk/v1/messages"
14+
"github.com/WebexCommunity/webex-go-sdk"
15+
"github.com/WebexCommunity/webex-go-sdk/attachmentactions"
16+
"github.com/WebexCommunity/webex-go-sdk/messages"
1717
)
1818

1919
func main() {

examples/conversation-listen-internal/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"os/signal"
1313
"syscall"
1414

15-
"github.com/WebexCommunity/webex-go-sdk/v1"
16-
"github.com/WebexCommunity/webex-go-sdk/v1/conversation"
17-
"github.com/WebexCommunity/webex-go-sdk/v1/device"
18-
"github.com/WebexCommunity/webex-go-sdk/v1/mercury"
15+
"github.com/WebexCommunity/webex-go-sdk"
16+
"github.com/WebexCommunity/webex-go-sdk/conversation"
17+
"github.com/WebexCommunity/webex-go-sdk/device"
18+
"github.com/WebexCommunity/webex-go-sdk/mercury"
1919
)
2020

2121
func main() {

0 commit comments

Comments
 (0)