Skip to content

Commit

Permalink
Remove $GOPATH from documentation
Browse files Browse the repository at this point in the history
Project layout is flexible now with modules
  • Loading branch information
Sean-Der committed Sep 5, 2023
1 parent 50301ea commit bbf5126
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ We've made it easy to run the browser based examples on your local machine.

1. Build and run the example server:
``` sh
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc
cd $GOPATH/src/github.com/pion/webrtc/examples
git clone https://github.com/pion/webrtc.git webrtc
cd pion/webrtc/examples
go run examples.go
```

Expand Down
2 changes: 0 additions & 2 deletions examples/ice-restart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ ice-restart demonstrates Pion WebRTC's ICE Restart abilities.
This example requires you to clone the repo since it is serving static HTML.

```
mkdir -p $GOPATH/src/github.com/pion
cd $GOPATH/src/github.com/pion
git clone https://github.com/pion/webrtc.git
cd webrtc/examples/ice-restart
```
Expand Down
2 changes: 0 additions & 2 deletions examples/ice-single-port/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ multiple PeerConnections to use the same port.
This example requires you to clone the repo since it is serving static HTML.

```
mkdir -p $GOPATH/src/github.com/pion
cd $GOPATH/src/github.com/pion
git clone https://github.com/pion/webrtc.git
cd webrtc/examples/ice-single-port
```
Expand Down
2 changes: 0 additions & 2 deletions examples/ice-tcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ ice-tcp demonstrates Pion WebRTC's ICE TCP abilities.
This example requires you to clone the repo since it is serving static HTML.

```
mkdir -p $GOPATH/src/github.com/pion
cd $GOPATH/src/github.com/pion
git clone https://github.com/pion/webrtc.git
cd webrtc/examples/ice-tcp
```
Expand Down
2 changes: 0 additions & 2 deletions examples/play-from-disk-renegotiation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ For a simpler example of playing a file from disk we also have [examples/play-fr
This example requires you to clone the repo since it is serving static HTML.

```
mkdir -p $GOPATH/src/github.com/pion
cd $GOPATH/src/github.com/pion
git clone https://github.com/pion/webrtc.git
cd webrtc/examples/play-from-disk-renegotiation
```
Expand Down
2 changes: 0 additions & 2 deletions examples/trickle-ice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Trickle ICE isn't mandatory to use, but highly recommended.
This example requires you to clone the repo since it is serving static HTML.

```
mkdir -p $GOPATH/src/github.com/pion
cd $GOPATH/src/github.com/pion
git clone https://github.com/pion/webrtc.git
cd webrtc/examples/trickle-ice
```
Expand Down

0 comments on commit bbf5126

Please sign in to comment.