v3 refactor (#1868)
* Move to v3 Co-authored-by: Ben Toogood <bentoogood@gmail.com>
This commit is contained in:
		| @@ -6,8 +6,8 @@ import ( | ||||
| 	"sync" | ||||
|  | ||||
| 	"github.com/bwmarrin/discordgo" | ||||
| 	"github.com/micro/go-micro/v2/agent/input" | ||||
| 	"github.com/micro/go-micro/v2/logger" | ||||
| 	"github.com/micro/go-micro/v3/agent/input" | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| ) | ||||
|  | ||||
| type discordConn struct { | ||||
|   | ||||
| @@ -9,7 +9,7 @@ import ( | ||||
|  | ||||
| 	"github.com/bwmarrin/discordgo" | ||||
| 	"github.com/micro/cli/v2" | ||||
| 	"github.com/micro/go-micro/v2/agent/input" | ||||
| 	"github.com/micro/go-micro/v3/agent/input" | ||||
| ) | ||||
|  | ||||
| func init() { | ||||
|   | ||||
| @@ -7,7 +7,7 @@ import ( | ||||
| 	"sync" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v2/agent/input" | ||||
| 	"github.com/micro/go-micro/v3/agent/input" | ||||
| 	"github.com/nlopes/slack" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -5,7 +5,7 @@ import ( | ||||
| 	"sync" | ||||
|  | ||||
| 	"github.com/micro/cli/v2" | ||||
| 	"github.com/micro/go-micro/v2/agent/input" | ||||
| 	"github.com/micro/go-micro/v3/agent/input" | ||||
| 	"github.com/nlopes/slack" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -6,8 +6,8 @@ import ( | ||||
| 	"sync" | ||||
|  | ||||
| 	"github.com/forestgiant/sliceutil" | ||||
| 	"github.com/micro/go-micro/v2/agent/input" | ||||
| 	"github.com/micro/go-micro/v2/logger" | ||||
| 	"github.com/micro/go-micro/v3/agent/input" | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	tgbotapi "gopkg.in/telegram-bot-api.v4" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ import ( | ||||
| 	"sync" | ||||
|  | ||||
| 	"github.com/micro/cli/v2" | ||||
| 	"github.com/micro/go-micro/v2/agent/input" | ||||
| 	"github.com/micro/go-micro/v3/agent/input" | ||||
| 	tgbotapi "gopkg.in/telegram-bot-api.v4" | ||||
| ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user