Drop references/usage of GO111MODULE
This commit is contained in:
parent
7b2e60968b
commit
d7bc33018b
2
.github/workflows/cli.yml
vendored
2
.github/workflows/cli.yml
vendored
@ -27,7 +27,6 @@ jobs:
|
|||||||
- name: Set GOPATH, PATH and ENV
|
- name: Set GOPATH, PATH and ENV
|
||||||
run: |
|
run: |
|
||||||
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
||||||
echo "GO111MODULE=on" >> $GITHUB_ENV
|
|
||||||
echo "GOPROXY=https://proxy.golang.org" >> $GITHUB_ENV
|
echo "GOPROXY=https://proxy.golang.org" >> $GITHUB_ENV
|
||||||
echo "$(dirname $GITHUB_WORKSPACE)/bin" >> $GITHUB_PATH
|
echo "$(dirname $GITHUB_WORKSPACE)/bin" >> $GITHUB_PATH
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -74,7 +73,6 @@ jobs:
|
|||||||
- name: Set GOPATH, PATH and ENV
|
- name: Set GOPATH, PATH and ENV
|
||||||
run: |
|
run: |
|
||||||
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
||||||
echo "GO111MODULE=on" >> $GITHUB_ENV
|
|
||||||
echo "GOPROXY=https://proxy.golang.org" >> $GITHUB_ENV
|
echo "GOPROXY=https://proxy.golang.org" >> $GITHUB_ENV
|
||||||
echo "$(dirname $GITHUB_WORKSPACE)/bin" >> $GITHUB_PATH
|
echo "$(dirname $GITHUB_WORKSPACE)/bin" >> $GITHUB_PATH
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -30,7 +30,7 @@ Go Modules are required when using this package. [See the go blog guide on using
|
|||||||
### Using `v2` releases
|
### Using `v2` releases
|
||||||
|
|
||||||
```
|
```
|
||||||
$ GO111MODULE=on go get github.com/urfave/cli/v2
|
$ go get github.com/urfave/cli/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
```go
|
```go
|
||||||
@ -44,7 +44,7 @@ import (
|
|||||||
### Using `v1` releases
|
### Using `v1` releases
|
||||||
|
|
||||||
```
|
```
|
||||||
$ GO111MODULE=on go get github.com/urfave/cli
|
$ go get github.com/urfave/cli
|
||||||
```
|
```
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
Loading…
Reference in New Issue
Block a user