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 db2b581 commit 1444139
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 11 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
module github.com/pion/stun/v2

go 1.12
go 1.19

require (
github.com/pion/dtls/v2 v2.2.10
github.com/pion/logging v0.2.2
github.com/pion/transport/v3 v3.0.2
github.com/stretchr/testify v1.9.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pion/transport/v2 v2.2.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
3 changes: 1 addition & 2 deletions message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"fmt"
"hash/crc64"
"io"
"io/ioutil"
"net"
"os"
"path/filepath"
Expand Down Expand Up @@ -558,7 +557,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 1444139

Please sign in to comment.