Skip to content

Commit bbf5126

Browse files
committed
Remove $GOPATH from documentation
Project layout is flexible now with modules
1 parent 50301ea commit bbf5126

File tree

6 files changed

+2
-12
lines changed

6 files changed

+2
-12
lines changed

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ We've made it easy to run the browser based examples on your local machine.
4040

4141
1. Build and run the example server:
4242
``` sh
43-
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc
44-
cd $GOPATH/src/github.com/pion/webrtc/examples
43+
git clone https://github.com/pion/webrtc.git webrtc
44+
cd pion/webrtc/examples
4545
go run examples.go
4646
```
4747

examples/ice-restart/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ ice-restart demonstrates Pion WebRTC's ICE Restart abilities.
77
This example requires you to clone the repo since it is serving static HTML.
88

99
```
10-
mkdir -p $GOPATH/src/github.com/pion
11-
cd $GOPATH/src/github.com/pion
1210
git clone https://github.com/pion/webrtc.git
1311
cd webrtc/examples/ice-restart
1412
```

examples/ice-single-port/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ multiple PeerConnections to use the same port.
1111
This example requires you to clone the repo since it is serving static HTML.
1212

1313
```
14-
mkdir -p $GOPATH/src/github.com/pion
15-
cd $GOPATH/src/github.com/pion
1614
git clone https://github.com/pion/webrtc.git
1715
cd webrtc/examples/ice-single-port
1816
```

examples/ice-tcp/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ ice-tcp demonstrates Pion WebRTC's ICE TCP abilities.
77
This example requires you to clone the repo since it is serving static HTML.
88

99
```
10-
mkdir -p $GOPATH/src/github.com/pion
11-
cd $GOPATH/src/github.com/pion
1210
git clone https://github.com/pion/webrtc.git
1311
cd webrtc/examples/ice-tcp
1412
```

examples/play-from-disk-renegotiation/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ For a simpler example of playing a file from disk we also have [examples/play-fr
99
This example requires you to clone the repo since it is serving static HTML.
1010

1111
```
12-
mkdir -p $GOPATH/src/github.com/pion
13-
cd $GOPATH/src/github.com/pion
1412
git clone https://github.com/pion/webrtc.git
1513
cd webrtc/examples/play-from-disk-renegotiation
1614
```

examples/trickle-ice/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Trickle ICE isn't mandatory to use, but highly recommended.
1313
This example requires you to clone the repo since it is serving static HTML.
1414

1515
```
16-
mkdir -p $GOPATH/src/github.com/pion
17-
cd $GOPATH/src/github.com/pion
1816
git clone https://github.com/pion/webrtc.git
1917
cd webrtc/examples/trickle-ice
2018
```

0 commit comments

Comments
 (0)