File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,14 @@ description: |
17
17
18
18
## 2. Clone fork to local storage
19
19
20
- Per Go's [ workspace instructions] [ go-workspace ] , place Kubernetes' code on your
21
- ` GOPATH ` using the following cloning procedure.
20
+ In your shell, define a local working directory as ` working_dir ` .
22
21
23
- [ go-workspace ] : https://golang.org/doc/code.html#Workspaces
24
-
25
- In your shell, define a local working directory as ` working_dir ` . If your ` GOPATH ` has multiple paths, pick
26
- just one and use it instead of ` $GOPATH ` . You must follow exactly this pattern,
27
- neither ` $GOPATH/src/github.com/${your github profile name}/ `
28
- nor any other pattern will work.
22
+ [ GO Modules ] : https://go.dev/blog/using-go-modules
29
23
30
24
``` sh
31
- export working_dir=" $( go env GOPATH ) /src/k8s.io"
25
+ export working_dir=" ${HOME} /src/k8s.io" # Change to your preferred location for source code
32
26
```
33
27
34
- If you already do Go development on github, the ` k8s.io ` directory
35
- will be a sibling to your existing ` github.com ` directory.
36
-
37
28
Set ` user ` to match your github profile name:
38
29
39
30
``` sh
You can’t perform that action at this time.
0 commit comments