Skip to content

Commit 28c803d

Browse files
thockink8s-publishing-bot
authored andcommitted
Get rid of most references to GOPATH
Kubernetes-commit: 10c32b3e2f4345dab582270b1a202dcd92dabd34
1 parent 7e70e35 commit 28c803d

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

Diff for: README.md

+3-20
Original file line numberDiff line numberDiff line change
@@ -33,28 +33,11 @@ explained [here](docs/controller-client-go.md).
3333

3434
## Fetch sample-controller and its dependencies
3535

36-
Like the rest of Kubernetes, sample-controller has used
37-
[godep](https://github.com/tools/godep) and `$GOPATH` for years and is
38-
now adopting go 1.11 modules. There are thus two alternative ways to
39-
go about fetching this demo and its dependencies.
40-
41-
### Fetch with godep
42-
43-
When NOT using go 1.11 modules, you can use the following commands.
44-
45-
```sh
46-
go get -d k8s.io/sample-controller
47-
cd $GOPATH/src/k8s.io/sample-controller
48-
godep restore
49-
```
50-
51-
### When using go 1.11 modules
52-
53-
When using go 1.11 modules (`GO111MODULE=on`), issue the following
54-
commands --- starting in whatever working directory you like.
36+
Issue the following commands --- starting in whatever working directory you
37+
like.
5538

5639
```sh
57-
git clone https://github.com/kubernetes/sample-controller.git
40+
git clone https://github.com/kubernetes/sample-controller
5841
cd sample-controller
5942
```
6043

0 commit comments

Comments
 (0)