From 86d32bdbe9e617bea1645da2f56cfbaee4771198 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Thu, 9 Apr 2020 16:19:52 -0700 Subject: [PATCH] Utils: Removed redundant stdlib errors import --- utils/wsutil/conn.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils/wsutil/conn.go b/utils/wsutil/conn.go index 0c1ee1d..a4a154a 100644 --- a/utils/wsutil/conn.go +++ b/utils/wsutil/conn.go @@ -9,8 +9,6 @@ import ( "sync" "time" - stderr "errors" - "github.com/diamondburned/arikawa/utils/json" "github.com/gorilla/websocket" "github.com/pkg/errors" @@ -125,7 +123,7 @@ func (c *Conn) readLoop() { b, err := c.handle() if err != nil { // Is the error an EOF? - if stderr.Is(err, io.EOF) { + if errors.Is(err, io.EOF) { // Yes it is, exit. return }