Skip to content

Commit

Permalink
Merge pull request #12 from MatthewCroughan/patch-1
Browse files Browse the repository at this point in the history
Tell users to enable module mode in go env #11
  • Loading branch information
rhysd authored Jul 7, 2020
2 parents fe88070 + 96511e5 commit ba1a93f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ Or you can install by building from source directly as follows. Go toolchain is
$ go get -u github.com/rhysd/notes-cli/cmd/notes
```

If the build fails due to https://github.com/golang/go/issues/30515 then you may have to enable `module mode` as described in `go help env`

*Temporarily* enable it for this installation only:

```
GO111MODULE=on go get -u github.com/rhysd/notes-cli/cmd/notes
```

*Permanently* enable this in your goenv config (May conflict with other projects)

```
go env -w GO111MODULE=on
```

Before starting to use, you can try it with examples.

```sh
Expand Down

0 comments on commit ba1a93f

Please sign in to comment.