* Move to go modules
* Move go.mod in root directory
* Update Readme
* Remove golang.org/x/tools from go.mod
* Remove go list from targets
* Set go version to 1.12
* Update Makefile
Co-Authored-By: hanzei <16541325+hanzei@users.noreply.github.com>
* Update dependencies
* Fix build
If the plugin leaves the configuration struct empty, go will optimize away allocations of the zero-width struct failing the `setConfiguration` check that prevents a user from introducing race conditions.
* define BUNDLE_NAME after including build/setup.mk (just for clarity, not correctness)
* separate plugin id from version with dash in bundle name to match Mattermost package
* fix various js/go idioms (some pre-existing!)
* fix error message