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:
Jesse Hallam 2019-06-20 09:36:32 -03:00 committed by Hanzei
parent 450dec550d
commit 2f14f54b59

View file

@ -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`:
```
{