Skip to content

Commit

Permalink
update to use go 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Mar 22, 2022
1 parent 84c5e74 commit 84ff378
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"testing"

"github.com/gorilla/websocket"
"github.com/algorand/websocket"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion examples/autobahn/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"time"
"unicode/utf8"

"github.com/gorilla/websocket"
"github.com/algorand/websocket"
)

var upgrader = websocket.Upgrader{
Expand Down
2 changes: 1 addition & 1 deletion examples/chat/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"time"

"github.com/gorilla/websocket"
"github.com/algorand/websocket"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions examples/command/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <command and arguments to run>
# Open http://localhost:8080/ .

Expand Down
2 changes: 1 addition & 1 deletion examples/command/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"os/exec"
"time"

"github.com/gorilla/websocket"
"github.com/algorand/websocket"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion examples/echo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion examples/echo/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion examples/filewatch/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"strconv"
"time"

"github.com/gorilla/websocket"
"github.com/algorand/websocket"
)

const (
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module github.com/algorand/websocket

go 1.16
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=

0 comments on commit 84ff378

Please sign in to comment.