From 5aa5fac6ea81dc00940e83a1f03a3da9ed46e600 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Tue, 5 Sep 2023 11:43:49 -0400 Subject: [PATCH] Remove GO111MODULE from docs --- examples/README.md | 1 - examples/broadcast/README.md | 1 - examples/custom-logger/README.md | 1 - examples/data-channels-detach/README.md | 1 - examples/data-channels/README.md | 1 - examples/insertable-streams/README.md | 1 - examples/ortc/README.md | 1 - examples/pion-to-pion/README.md | 1 - examples/pion-to-pion/answer/Dockerfile | 1 - examples/pion-to-pion/offer/Dockerfile | 1 - examples/play-from-disk/README.md | 1 - examples/reflect/README.md | 1 - examples/rtcp-processing/README.md | 1 - examples/rtp-forwarder/README.md | 1 - examples/rtp-to-webrtc/README.md | 1 - examples/save-to-disk-av1/README.md | 1 - examples/save-to-disk/README.md | 1 - examples/simulcast/README.md | 1 - examples/stats/README.md | 1 - examples/swap-tracks/README.md | 1 - 20 files changed, 20 deletions(-) diff --git a/examples/README.md b/examples/README.md index ccbb72bdb72..ac63874389f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -40,7 +40,6 @@ We've made it easy to run the browser based examples on your local machine. 1. Build and run the example server: ``` sh - GO111MODULE=on go get github.com/pion/webrtc/v4 git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc cd $GOPATH/src/github.com/pion/webrtc/examples go run examples.go diff --git a/examples/broadcast/README.md b/examples/broadcast/README.md index 22cf7ef3320..b66f909522d 100644 --- a/examples/broadcast/README.md +++ b/examples/broadcast/README.md @@ -6,7 +6,6 @@ This could serve as the building block to building conferencing software, and ot ## Instructions ### Download broadcast ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/broadcast ``` diff --git a/examples/custom-logger/README.md b/examples/custom-logger/README.md index fee78f518db..a95a2c3939b 100644 --- a/examples/custom-logger/README.md +++ b/examples/custom-logger/README.md @@ -6,7 +6,6 @@ users to override this and process messages however they want. ## Instructions ### Download custom-logger ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/custom-logger ``` diff --git a/examples/data-channels-detach/README.md b/examples/data-channels-detach/README.md index 4f9158c2c01..11a343c4ac5 100644 --- a/examples/data-channels-detach/README.md +++ b/examples/data-channels-detach/README.md @@ -5,7 +5,6 @@ The example mirrors the data-channels example. ## Install ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/data-channels-detach ``` diff --git a/examples/data-channels/README.md b/examples/data-channels/README.md index 77810bad8b3..6c5d083cb37 100644 --- a/examples/data-channels/README.md +++ b/examples/data-channels/README.md @@ -4,7 +4,6 @@ data-channels is a Pion WebRTC application that shows how you can send/recv Data ## Instructions ### Download data-channels ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/data-channels ``` diff --git a/examples/insertable-streams/README.md b/examples/insertable-streams/README.md index 38e3b74fdd8..5adf99f8bff 100644 --- a/examples/insertable-streams/README.md +++ b/examples/insertable-streams/README.md @@ -14,7 +14,6 @@ ffmpeg -i $INPUT_FILE -g 30 output.ivf ### Download insertable-streams ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/insertable-streams ``` diff --git a/examples/ortc/README.md b/examples/ortc/README.md index 2a13904d1bb..ec9fb20ab95 100644 --- a/examples/ortc/README.md +++ b/examples/ortc/README.md @@ -9,7 +9,6 @@ In this example we have defined a simple JSON based signaling protocol. ## Instructions ### Download ortc ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/ortc ``` diff --git a/examples/pion-to-pion/README.md b/examples/pion-to-pion/README.md index 5277dc94bd0..053dc9f26bb 100644 --- a/examples/pion-to-pion/README.md +++ b/examples/pion-to-pion/README.md @@ -7,7 +7,6 @@ The `answer` side acts like a HTTP server and should therefore be ran first. ## Instructions First run `answer`: ```sh -export GO111MODULE=on go install github.com/pion/webrtc/v4/examples/pion-to-pion/answer answer ``` diff --git a/examples/pion-to-pion/answer/Dockerfile b/examples/pion-to-pion/answer/Dockerfile index 2d0666fb717..1deda9a4813 100644 --- a/examples/pion-to-pion/answer/Dockerfile +++ b/examples/pion-to-pion/answer/Dockerfile @@ -3,7 +3,6 @@ FROM golang:1.21 -ENV GO111MODULE=on RUN go install github.com/pion/webrtc/v4/examples/pion-to-pion/answer@latest CMD ["answer"] diff --git a/examples/pion-to-pion/offer/Dockerfile b/examples/pion-to-pion/offer/Dockerfile index 6156f18a07e..8ec44bea895 100644 --- a/examples/pion-to-pion/offer/Dockerfile +++ b/examples/pion-to-pion/offer/Dockerfile @@ -3,7 +3,6 @@ FROM golang:1.21 -ENV GO111MODULE=on RUN go install github.com/pion/webrtc/v4/examples/pion-to-pion/offer@latest CMD ["offer"] diff --git a/examples/play-from-disk/README.md b/examples/play-from-disk/README.md index 3b9e2cb8369..280d2992a3d 100644 --- a/examples/play-from-disk/README.md +++ b/examples/play-from-disk/README.md @@ -15,7 +15,6 @@ ffmpeg -i $INPUT_FILE -c:a libopus -page_duration 20000 -vn output.ogg ### Download play-from-disk ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/play-from-disk ``` diff --git a/examples/reflect/README.md b/examples/reflect/README.md index a28d0d3fe47..c113e01ef5d 100644 --- a/examples/reflect/README.md +++ b/examples/reflect/README.md @@ -4,7 +4,6 @@ reflect demonstrates how with one PeerConnection you can send video to Pion and ## Instructions ### Download reflect ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/reflect ``` diff --git a/examples/rtcp-processing/README.md b/examples/rtcp-processing/README.md index 44e777ea47e..a499b65a634 100644 --- a/examples/rtcp-processing/README.md +++ b/examples/rtcp-processing/README.md @@ -11,7 +11,6 @@ also craft messages to influence the media quality. ## Instructions ### Download rtcp-processing ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/rtcp-processing ``` diff --git a/examples/rtp-forwarder/README.md b/examples/rtp-forwarder/README.md index 4cf305991d8..f5c241612cc 100644 --- a/examples/rtp-forwarder/README.md +++ b/examples/rtp-forwarder/README.md @@ -4,7 +4,6 @@ rtp-forwarder is a simple application that shows how to forward your webcam/micr ## Instructions ### Download rtp-forwarder ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/rtp-forwarder ``` diff --git a/examples/rtp-to-webrtc/README.md b/examples/rtp-to-webrtc/README.md index bf92673ec6b..875b0a2a197 100644 --- a/examples/rtp-to-webrtc/README.md +++ b/examples/rtp-to-webrtc/README.md @@ -6,7 +6,6 @@ With this example we have pre-made GStreamer and ffmpeg pipelines, but you can u ## Instructions ### Download rtp-to-webrtc ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/rtp-to-webrtc ``` diff --git a/examples/save-to-disk-av1/README.md b/examples/save-to-disk-av1/README.md index 15349fbc07c..209c0f2aeda 100644 --- a/examples/save-to-disk-av1/README.md +++ b/examples/save-to-disk-av1/README.md @@ -10,7 +10,6 @@ You can then send this video back to your browser using [play-from-disk](https:/ ## Instructions ### Download save-to-disk-av1 ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/save-to-disk-av1 ``` diff --git a/examples/save-to-disk/README.md b/examples/save-to-disk/README.md index a5d20bc8e04..0a768523f46 100644 --- a/examples/save-to-disk/README.md +++ b/examples/save-to-disk/README.md @@ -10,7 +10,6 @@ You can then send this video back to your browser using [play-from-disk](https:/ ## Instructions ### Download save-to-disk ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/save-to-disk ``` diff --git a/examples/simulcast/README.md b/examples/simulcast/README.md index 07629824431..da45815f602 100644 --- a/examples/simulcast/README.md +++ b/examples/simulcast/README.md @@ -8,7 +8,6 @@ is selected. ## Instructions ### Download simulcast ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/simulcast ``` diff --git a/examples/stats/README.md b/examples/stats/README.md index 26c81edf6e8..b8b1a8c7a91 100644 --- a/examples/stats/README.md +++ b/examples/stats/README.md @@ -7,7 +7,6 @@ during a session and why. ## Instructions ### Download stats ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/stats ``` diff --git a/examples/swap-tracks/README.md b/examples/swap-tracks/README.md index 4362d3e8da4..0f9d670690f 100644 --- a/examples/swap-tracks/README.md +++ b/examples/swap-tracks/README.md @@ -4,7 +4,6 @@ swap-tracks demonstrates how to swap multiple incoming tracks on a single outgoi ## Instructions ### Download swap-tracks ``` -export GO111MODULE=on go get github.com/pion/webrtc/v4/examples/swap-tracks ```