diff --git a/statuscode.go b/statuscode.go index 498437d0a1f5c5e569c601b174acaee1a3acb203..558610d4a9bf9d571d6efd5a34315c649b1b97ff 100644 --- a/statuscode.go +++ b/statuscode.go @@ -43,7 +43,7 @@ const ( // CloseError represents a WebSocket close frame. // It is returned by Conn's methods when a WebSocket close frame is received from // the peer. -// You will need to use https://golang.org/x/xerrors to check for this error. +// You will need to use https://godoc.org/golang.org/x/xerrors#As to check for this error. type CloseError struct { Code StatusCode Reason string