mirror of
https://github.com/pion/stun.git
synced 2024-05-03 09:25:15 +08:00
parent
db2b581995
commit
4d4557199d
12
go.mod
12
go.mod
@ -1,6 +1,6 @@
|
||||
module github.com/pion/stun/v2
|
||||
|
||||
go 1.12
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/pion/dtls/v2 v2.2.10
|
||||
@ -8,3 +8,13 @@ require (
|
||||
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
|
||||
)
|
||||
|
@ -15,7 +15,6 @@ import (
|
||||
"fmt"
|
||||
"hash/crc64"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user