Skip to content

Commit

Permalink
Update go.mod version to 1.19
Browse files Browse the repository at this point in the history
Relates to pion/webrtc#2292
  • Loading branch information
Sean-Der committed Apr 3, 2024
1 parent d62811b commit 40c468b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pion/turn/v3

go 1.13
go 1.19

require (
github.com/pion/logging v0.2.2
Expand All @@ -10,3 +10,12 @@ require (
github.com/stretchr/testify v1.9.0
golang.org/x/sys v0.18.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pion/dtls/v2 v2.2.7 // indirect
github.com/pion/transport/v2 v2.2.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
4 changes: 2 additions & 2 deletions internal/proto/proto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package proto

import (
"io/ioutil"
"io"
"os"
"path/filepath"
"testing"
Expand All @@ -28,7 +28,7 @@ func loadData(tb testing.TB, name string) []byte {
tb.Fatal(errClose)
}
}()
v, err := ioutil.ReadAll(f)
v, err := io.ReadAll(f)
if err != nil {
tb.Fatal(err)
}
Expand Down

0 comments on commit 40c468b

Please sign in to comment.