From 47eb33e3098f6821c49e397ff8558146f0dbc3e6 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Tue, 2 Apr 2024 14:08:40 -0400 Subject: [PATCH] Update go.mod version to 1.19 Relates to pion/webrtc#2292 --- go.mod | 11 ++++++++++- internal/proto/proto_test.go | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b447b968..c2c9470e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pion/turn/v3 -go 1.13 +go 1.19 require ( github.com/pion/logging v0.2.2 @@ -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 +) diff --git a/internal/proto/proto_test.go b/internal/proto/proto_test.go index 7998c582..8c2cadd3 100644 --- a/internal/proto/proto_test.go +++ b/internal/proto/proto_test.go @@ -4,7 +4,7 @@ package proto import ( - "io/ioutil" + "io" "os" "path/filepath" "testing" @@ -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) }