From d23d27b229cf00d62e80f00705f0209cd3bb51b4 Mon Sep 17 00:00:00 2001 From: lukasl-dev Date: Mon, 18 Apr 2022 20:10:39 +0200 Subject: [PATCH] fix: imports dues to module name change --- client.go | 6 +++--- connection.go | 6 +++--- connection_test.go | 2 +- credentials.go | 2 +- event_bus.go | 6 +++--- guild.go | 8 ++++---- internal/message/filters.go | 2 +- internal/message/message.go | 2 +- track/track.go | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/client.go b/client.go index 5f2a946..665c3fa 100644 --- a/client.go +++ b/client.go @@ -4,9 +4,9 @@ import ( "bytes" "encoding/json" "fmt" - "github.com/lukasl-dev/waterlink/internal/pkgerror" - "github.com/lukasl-dev/waterlink/track" - "github.com/lukasl-dev/waterlink/track/query" + "github.com/lukasl-dev/waterlink/v2/internal/pkgerror" + "github.com/lukasl-dev/waterlink/v2/track" + "github.com/lukasl-dev/waterlink/v2/track/query" "io" "net/http" "net/url" diff --git a/connection.go b/connection.go index 0a85f28..53cab2d 100644 --- a/connection.go +++ b/connection.go @@ -5,9 +5,9 @@ import ( "fmt" "github.com/gompus/snowflake" "github.com/gorilla/websocket" - "github.com/lukasl-dev/waterlink/internal/message" - "github.com/lukasl-dev/waterlink/internal/message/opcode" - "github.com/lukasl-dev/waterlink/internal/pkgerror" + "github.com/lukasl-dev/waterlink/v2/internal/message" + "github.com/lukasl-dev/waterlink/v2/internal/message/opcode" + "github.com/lukasl-dev/waterlink/v2/internal/pkgerror" "net/http" "time" ) diff --git a/connection_test.go b/connection_test.go index 95224d6..cdc2778 100644 --- a/connection_test.go +++ b/connection_test.go @@ -2,7 +2,7 @@ package waterlink import ( "fmt" - "github.com/lukasl-dev/waterlink/event" + "github.com/lukasl-dev/waterlink/v2/event" "log" "time" ) diff --git a/credentials.go b/credentials.go index fe7fac8..db8dd9d 100644 --- a/credentials.go +++ b/credentials.go @@ -3,7 +3,7 @@ package waterlink import ( "fmt" "github.com/gompus/snowflake" - "github.com/lukasl-dev/waterlink/internal" + "github.com/lukasl-dev/waterlink/v2/internal" "net/http" ) diff --git a/event_bus.go b/event_bus.go index ce54565..21ef235 100644 --- a/event_bus.go +++ b/event_bus.go @@ -3,9 +3,9 @@ package waterlink import ( "encoding/json" "fmt" - "github.com/lukasl-dev/waterlink/event" - "github.com/lukasl-dev/waterlink/internal/message" - "github.com/lukasl-dev/waterlink/internal/message/opcode" + "github.com/lukasl-dev/waterlink/v2/event" + "github.com/lukasl-dev/waterlink/v2/internal/message" + "github.com/lukasl-dev/waterlink/v2/internal/message/opcode" "reflect" ) diff --git a/guild.go b/guild.go index 6a83516..b999396 100644 --- a/guild.go +++ b/guild.go @@ -3,10 +3,10 @@ package waterlink import ( "fmt" "github.com/gompus/snowflake" - "github.com/lukasl-dev/waterlink/internal/message" - "github.com/lukasl-dev/waterlink/internal/message/opcode" - "github.com/lukasl-dev/waterlink/internal/pkgerror" - "github.com/lukasl-dev/waterlink/track" + "github.com/lukasl-dev/waterlink/v2/internal/message" + "github.com/lukasl-dev/waterlink/v2/internal/message/opcode" + "github.com/lukasl-dev/waterlink/v2/internal/pkgerror" + "github.com/lukasl-dev/waterlink/v2/track" "time" ) diff --git a/internal/message/filters.go b/internal/message/filters.go index dbb2b42..8586d45 100644 --- a/internal/message/filters.go +++ b/internal/message/filters.go @@ -1,6 +1,6 @@ package message -import "github.com/lukasl-dev/waterlink/filter" +import "github.com/lukasl-dev/waterlink/v2/filter" type Filters struct { Incoming diff --git a/internal/message/message.go b/internal/message/message.go index e0e0b9e..26bf121 100644 --- a/internal/message/message.go +++ b/internal/message/message.go @@ -1,7 +1,7 @@ package message import ( - "github.com/lukasl-dev/waterlink/internal/message/opcode" + "github.com/lukasl-dev/waterlink/v2/internal/message/opcode" ) // Incoming represents the basic attributes of an incoming message. diff --git a/track/track.go b/track/track.go index 5e9f60f..78218c2 100644 --- a/track/track.go +++ b/track/track.go @@ -1,7 +1,7 @@ package track import ( - "github.com/lukasl-dev/waterlink/track/query" + "github.com/lukasl-dev/waterlink/v2/track/query" ) // Track represents a preloaded track.