Merge pull request #1537 from jaypipes/gomod-install-note

add note about GO111MODULE for source install
This commit is contained in:
Kubernetes Prow Robot
2019-09-18 11:43:31 -07:00
committed by GitHub

View File

@@ -30,6 +30,12 @@ Requires [Go] v1.12 or higher:
go install sigs.k8s.io/kustomize/v3/cmd/kustomize
```
> With [Go v1.12](https://golang.org/doc/go1.12#modules), prefix the above command with `GO111MODULE=on`, e.g.
> ```
> GO111MODULE=on go install sigs.k8s.io/kustomize/v3/cmd/kustomize
> ```
> This shouldn't be necessary with [Go v1.13](https://golang.org/doc/go1.13#modules).
### Other methods
#### macOS