From 46ce6813196bcb4d0b40c6646cdf39b62986e804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bone=E2=80=93face?= Date: Thu, 10 Dec 2015 19:58:33 +1300 Subject: [PATCH] corrected reference to net/x/websockets package. --- en/08.2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/08.2.md b/en/08.2.md index 57abaed3..77928773 100644 --- a/en/08.2.md +++ b/en/08.2.md @@ -48,7 +48,7 @@ The Go standard library does not support WebSockets. However the `websocket` pac Use `go get` to install this package: - go get code.google.com/p/go.net/websocket + go get golang.org/x/net/websocket WebSockets have both client and server sides. Let's see a simple example where a user inputs some information on the client side and sends it to the server through a WebSocket, followed by the server pushing information back to the client. @@ -107,7 +107,7 @@ Server code: package main import ( - "code.google.com/p/go.net/websocket" + "golang.org/x/net/websocket" "fmt" "log" "net/http"