Clarify Go modules requirements. (#44)
For anyone new to Go modules, it's worth adding some clarity on how to use this project in the event it remains located in the `$GOPATH`.
This commit is contained in:
parent
450dec550d
commit
2f14f54b59
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ Alternatively shallow clone the repository to a directory outside of `$GOPATH` m
|
|||
git clone --depth 1 https://github.com/mattermost/mattermost-plugin-sample com.example.my-plugin
|
||||
```
|
||||
|
||||
Note that this project uses [Go modules](https://github.com/golang/go/wiki/Modules). Be sure to locate the project outside of `$GOPATH`, or allow the use of Go modules within your `$GOPATH` with an `export GO111MODULE=on`.
|
||||
|
||||
Edit `plugin.json` with your `id`, `name`, and `description`:
|
||||
```
|
||||
{
|
||||
|
|
Reference in a new issue