[tor-commits] [websocket/master] Change import to new golang.org/x/net/websocket.

dcf at torproject.org dcf at torproject.org
Sat Dec 19 08:41:55 UTC 2015


commit 7fbabe47b0fdb51c1573221024da7786cbf7ebe1
Author: David Fifield <david at bamsoftware.com>
Date:   Sat Dec 19 00:38:54 2015 -0800

    Change import to new golang.org/x/net/websocket.
    
    https://groups.google.com/forum/#!msg/golang-nuts/eD8dh3T9yyA/l5Ail-xfMiAJ
---
 websocket-client/websocket-client.go |    2 +-
 websocket/websocket.go               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/websocket-client/websocket-client.go b/websocket-client/websocket-client.go
index 859d98e..8943a97 100644
--- a/websocket-client/websocket-client.go
+++ b/websocket-client/websocket-client.go
@@ -7,7 +7,7 @@
 package main
 
 import (
-	"code.google.com/p/go.net/websocket"
+	"golang.org/x/net/websocket"
 	"flag"
 	"fmt"
 	"io"
diff --git a/websocket/websocket.go b/websocket/websocket.go
index 5786fdf..7c649e3 100644
--- a/websocket/websocket.go
+++ b/websocket/websocket.go
@@ -5,7 +5,7 @@
 // maximum buffering of messages.
 //
 // The reason for using this custom implementation instead of
-// code.google.com/p/go.net/websocket is that the latter has problems with long
+// golang.org/x/net/websocket is that the latter has problems with long
 // messages and does not support server subprotocols.
 //   "Denial of Service Protection in Go HTTP Servers"
 //   https://code.google.com/p/go/issues/detail?id=2093





More information about the tor-commits mailing list