瀏覽代碼

Use the right websockets.

Bruce Marriner 9 年之前
父節點
當前提交
f789b29a8d
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      structs.go

+ 3 - 1
structs.go

@@ -1,9 +1,11 @@
 package discordgo
 
 import (
+	"encoding/json"
 	"net"
+	"time"
 
-	"golang.org/x/net/websocket"
+	"github.com/gorilla/websocket"
 )
 
 // TODO: Eventually everything here gets moved to a better place.