Skip to content

Commit

Permalink
Don't require GOPATH for development (open-telemetry#3061)
Browse files Browse the repository at this point in the history
With modules, GOPATH is  not commonly used by Go developers anymore. Switch to the non-GOPATH instructions.
  • Loading branch information
rakyll authored Apr 29, 2021
1 parent 1b172bf commit 6344fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ Working with the project sources requires the following tools:
Fork the repo, checkout the upstream repo to your GOPATH by:

```
$ GO111MODULE="" go get -d go.opentelemetry.io/collector
$ git clone [email protected]:open-telemetry/opentelemetry-collector.git
```

Add your fork as an origin:

```shell
$ cd $(go env GOPATH)/src/go.opentelemetry.io/collector
$ cd opentelemetry-collector
$ git remote add fork [email protected]:YOUR_GITHUB_USERNAME/opentelemetry-collector.git
```

Expand Down

0 comments on commit 6344fda

Please sign in to comment.