From 84ff378daaa5db3f7779983b0bba82f8ec87d48b Mon Sep 17 00:00:00 2001 From: Tsachi Herman Date: Tue, 22 Mar 2022 12:49:22 -0400 Subject: [PATCH] update to use go 1.16 --- example_test.go | 2 +- examples/autobahn/server.go | 2 +- examples/chat/client.go | 2 +- examples/command/README.md | 4 ++-- examples/command/main.go | 2 +- examples/echo/client.go | 2 +- examples/echo/server.go | 2 +- examples/filewatch/main.go | 2 +- go.mod | 2 ++ go.sum | 2 -- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/example_test.go b/example_test.go index df1e2d76..6b139688 100644 --- a/example_test.go +++ b/example_test.go @@ -10,7 +10,7 @@ import ( "net/http" "testing" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) var ( diff --git a/examples/autobahn/server.go b/examples/autobahn/server.go index c2d6ee50..ba75ef38 100644 --- a/examples/autobahn/server.go +++ b/examples/autobahn/server.go @@ -14,7 +14,7 @@ import ( "time" "unicode/utf8" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) var upgrader = websocket.Upgrader{ diff --git a/examples/chat/client.go b/examples/chat/client.go index 9461c1ea..e07c82b1 100644 --- a/examples/chat/client.go +++ b/examples/chat/client.go @@ -10,7 +10,7 @@ import ( "net/http" "time" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) const ( diff --git a/examples/command/README.md b/examples/command/README.md index ed6f7868..74128c0e 100644 --- a/examples/command/README.md +++ b/examples/command/README.md @@ -4,8 +4,8 @@ This example connects a websocket connection to stdin and stdout of a command. Received messages are written to stdin followed by a `\n`. Each line read from standard out is sent as a message to the client. - $ go get github.com/gorilla/websocket - $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/command` + $ go get github.com/algorand/websocket + $ cd `go list -f '{{.Dir}}' github.com/algorand/websocket/examples/command` $ go run main.go # Open http://localhost:8080/ . diff --git a/examples/command/main.go b/examples/command/main.go index 304f1a52..fd00628b 100644 --- a/examples/command/main.go +++ b/examples/command/main.go @@ -14,7 +14,7 @@ import ( "os/exec" "time" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) var ( diff --git a/examples/echo/client.go b/examples/echo/client.go index bf0e6573..1dbf9655 100644 --- a/examples/echo/client.go +++ b/examples/echo/client.go @@ -14,7 +14,7 @@ import ( "os/signal" "time" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) var addr = flag.String("addr", "localhost:8080", "http service address") diff --git a/examples/echo/server.go b/examples/echo/server.go index ecc680c8..417f7652 100644 --- a/examples/echo/server.go +++ b/examples/echo/server.go @@ -12,7 +12,7 @@ import ( "log" "net/http" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) var addr = flag.String("addr", "localhost:8080", "http service address") diff --git a/examples/filewatch/main.go b/examples/filewatch/main.go index b834ed39..98d81dac 100644 --- a/examples/filewatch/main.go +++ b/examples/filewatch/main.go @@ -14,7 +14,7 @@ import ( "strconv" "time" - "github.com/gorilla/websocket" + "github.com/algorand/websocket" ) const ( diff --git a/go.mod b/go.mod index 1269343d..5d110a1b 100644 --- a/go.mod +++ b/go.mod @@ -1 +1,3 @@ module github.com/algorand/websocket + +go 1.16 diff --git a/go.sum b/go.sum index cf4fbbaa..e69de29b 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +0,0 @@ -github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=