From b08a509c96df7be190dee31e86f18dc199b15c6e Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Wed, 30 Nov 2022 14:58:10 -0800 Subject: [PATCH] Start /v2 Update go.mod and all files --- examples/vnet-udpproxy/main.go | 2 +- go.mod | 4 +--- packetio/buffer.go | 2 +- test/bridge.go | 2 +- test/stress.go | 2 +- vnet/stress_test.go | 2 +- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/vnet-udpproxy/main.go b/examples/vnet-udpproxy/main.go index c776d65..d882045 100644 --- a/examples/vnet-udpproxy/main.go +++ b/examples/vnet-udpproxy/main.go @@ -6,7 +6,7 @@ import ( "time" "github.com/pion/logging" - "github.com/pion/transport/vnet" + "github.com/pion/transport/v2/vnet" ) func main() { diff --git a/go.mod b/go.mod index be760b9..c5a7fa9 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,7 @@ -module github.com/pion/transport +module github.com/pion/transport/v2 go 1.12 -retract v0.14.0 - require ( github.com/pion/logging v0.2.2 github.com/stretchr/testify v1.7.1 diff --git a/packetio/buffer.go b/packetio/buffer.go index 97d86f8..9723696 100644 --- a/packetio/buffer.go +++ b/packetio/buffer.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "github.com/pion/transport/deadline" + "github.com/pion/transport/v2/deadline" ) var errPacketTooBig = errors.New("packet too big") diff --git a/test/bridge.go b/test/bridge.go index f63af33..cc8b7c7 100644 --- a/test/bridge.go +++ b/test/bridge.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/pion/transport/deadline" + "github.com/pion/transport/v2/deadline" ) const ( diff --git a/test/stress.go b/test/stress.go index 2bfcdcc..b6db324 100644 --- a/test/stress.go +++ b/test/stress.go @@ -8,7 +8,7 @@ import ( "io" "sync" - "github.com/pion/transport/connctx" + "github.com/pion/transport/v2/connctx" ) var errByteSequenceChanged = errors.New("byte sequence changed") diff --git a/vnet/stress_test.go b/vnet/stress_test.go index a3c24bd..0c86e90 100644 --- a/vnet/stress_test.go +++ b/vnet/stress_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/pion/logging" - "github.com/pion/transport/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" )