Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8fb4466

Browse files
committedSep 2, 2019
Update xerrors link in docs
1 parent 40cae1b commit 8fb4466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎statuscode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343
// CloseError represents a WebSocket close frame.
4444
// It is returned by Conn's methods when a WebSocket close frame is received from
4545
// the peer.
46-
// You will need to use https://golang.org/x/xerrors to check for this error.
46+
// You will need to use https://godoc.org/golang.org/x/xerrors#As to check for this error.
4747
type CloseError struct {
4848
Code StatusCode
4949
Reason string

0 commit comments

Comments
 (0)
Please sign in to comment.